tag:blogger.com,1999:blog-959939550345671470.post2081547319092888819..comments2024-03-24T12:51:18.535+05:30Comments on C programming Interview questions and answers: C program to find largest and smallest number in an arrayPriyanka kumarihttp://www.blogger.com/profile/08145649011863585828noreply@blogger.comBlogger14125tag:blogger.com,1999:blog-959939550345671470.post-80990788221977074162017-11-24T21:55:19.939+05:302017-11-24T21:55:19.939+05:30F AN ARRAY OF NUMBERS IS PROVIDED, SAY 93, 64, 47,...F AN ARRAY OF NUMBERS IS PROVIDED, SAY 93, 64, 47, 64, 49, ARRANGE IT IN THE FORM OF A SINGLE NUMBER SUCH THAT THE CONCLUDING NUMBER IS MAXIMUM. OUTPUT EXPECTED IN OUR CASE WILL BE 9364644947. WRITE A FUNCTION TO PROVIDE THE EXPECTED OUTPUT.Anonymoushttps://www.blogger.com/profile/17248917322923096349noreply@blogger.comtag:blogger.com,1999:blog-959939550345671470.post-14941772620674735432016-06-25T06:26:30.971+05:302016-06-25T06:26:30.971+05:30i cannot understand what is the problem with this,...i cannot understand what is the problem with this,?<br />but its donot run properly<br /><br /><br />#include ><br />int main()<br />{<br /> int std,i,a[50],best,low;<br /> printf("how much student : ");<br /> scanf("%d",&std);<br /> for(i=1;i<=std;i++)<br /> {<br /> printf("inter %d student mark : ",i);<br /> scanf("%d&Anonymoushttps://www.blogger.com/profile/03224950486410114579noreply@blogger.comtag:blogger.com,1999:blog-959939550345671470.post-73793398970184266502016-06-25T06:25:32.701+05:302016-06-25T06:25:32.701+05:30i cannot understand what is the problem with this,...i cannot understand what is the problem with this,?<br />but its donot run properly<br /><br /><br />#include ><br />int main()<br />{<br /> int std,i,a[50],best,low;<br /> printf("how much student : ");<br /> scanf("%d",&std);<br /> for(i=1;i<=std;i++)<br /> {<br /> printf("inter %d student mark : ",i);<br /> scanf("%d&Anonymoushttps://www.blogger.com/profile/03224950486410114579noreply@blogger.comtag:blogger.com,1999:blog-959939550345671470.post-20167883057451829872016-05-31T07:05:16.319+05:302016-05-31T07:05:16.319+05:30tarnary oparetor:
# include
void main()
{
int a...tarnary oparetor:<br /># include <br /> <br />void main()<br />{<br />int a, b, c, big ;<br />printf("Enter three numbers : ") ;<br />scanf("%d %d %d", &a, &b, &c) ;<br />big = a > b ? (a > c ? a : c) : (b > c ? b : c) ;<br />printf("\nThe biggest number is : %d", big) ;<br />}Anonymoushttps://www.blogger.com/profile/07677656853106977871noreply@blogger.comtag:blogger.com,1999:blog-959939550345671470.post-61642880421125863762016-04-01T08:31:55.016+05:302016-04-01T08:31:55.016+05:30array is the collection of the elementsarray is the collection of the elementsAnonymoushttps://www.blogger.com/profile/13942830198612598914noreply@blogger.comtag:blogger.com,1999:blog-959939550345671470.post-31817968863016259222015-12-07T02:10:31.014+05:302015-12-07T02:10:31.014+05:30awsome bro.......it to easy to understand.......c...awsome bro.......it to easy to understand.......can i found function type problem in ur website....Anonymoushttps://www.blogger.com/profile/15067623848806795590noreply@blogger.comtag:blogger.com,1999:blog-959939550345671470.post-40448787889712562792015-10-02T06:37:31.420+05:302015-10-02T06:37:31.420+05:30thank u
thank u<br />Anonymoushttps://www.blogger.com/profile/06964641494462998349noreply@blogger.comtag:blogger.com,1999:blog-959939550345671470.post-59683303642914636622015-07-05T10:56:38.180+05:302015-07-05T10:56:38.180+05:30can anyone find smallest and largest element using...can anyone find smallest and largest element using bitwise opertor?Anonymoushttps://www.blogger.com/profile/04372934819353829565noreply@blogger.comtag:blogger.com,1999:blog-959939550345671470.post-29276607391855338962014-03-13T11:19:16.045+05:302014-03-13T11:19:16.045+05:30Simple and logical. Thanks a lot :-)Simple and logical. Thanks a lot :-)Praveen Vhttps://www.blogger.com/profile/00041051746990483359noreply@blogger.comtag:blogger.com,1999:blog-959939550345671470.post-5850724804308054242013-06-11T13:53:48.934+05:302013-06-11T13:53:48.934+05:30[50] is the size of the array.it means if we have ...[50] is the size of the array.it means if we have an integer array it aqquire 100 bytes in case of [50].because an integer value took 2 bytes.and "i" is nothing ,it is just written to show the compiler that this is used in the main program....sachin thakurhttps://www.blogger.com/profile/07508977421118128649noreply@blogger.comtag:blogger.com,1999:blog-959939550345671470.post-9941496610010772342013-05-09T23:17:15.394+05:302013-05-09T23:17:15.394+05:30they are array and 50 represent array size and i f...they are array and 50 represent array size and i for using loop which represent element position num....<br />Anonymoushttps://www.blogger.com/profile/15145996029502371920noreply@blogger.comtag:blogger.com,1999:blog-959939550345671470.post-76921890791106266582013-04-27T12:20:17.363+05:302013-04-27T12:20:17.363+05:30Y do v need to ask d user for d Size. Directly ent...Y do v need to ask d user for d Size. Directly entering d elements wont work?anonymoushttps://www.blogger.com/profile/12990500878173832212noreply@blogger.comtag:blogger.com,1999:blog-959939550345671470.post-10750456441480562002013-03-10T09:13:54.302+05:302013-03-10T09:13:54.302+05:30to declare in arrays we have to use brackets.to declare in arrays we have to use brackets.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-959939550345671470.post-85284778099039970262013-01-27T17:04:28.110+05:302013-01-27T17:04:28.110+05:30what does [50] & [i] mean ? why are they in br...what does [50] & [i] mean ? why are they in brackets ?Anonymousnoreply@blogger.com