b) 4 c) 6 d) 7
32. Any C program
a) must contain at least one function b) need not contain
ant function
c) needs input data d) none of the above
33. Using goto inside for loop is equivalent to using
a) continue b) break c) return d)none of the above
34. The program fragment
int a=5, b=2;
printf(“%d”,a+++++b);
a) prints 7 b)prints 8 c) prints 9 d)none of the above
35. printf(“ab” , “cd”,”ef”); prints
a) ab abcdef c) abcdef, followed by garbage value d) none of
the above
36. Consider the following program segment.
i=6720; j=4;
while((i%j)==0)
{
i=i/j;
j=j+1;
}
On termination j will have the value
a) 4 b) 8 c) 9 d) 6720
Answer Posted / priyanka
any c program must contain atleast one fuction which is called main()
| Is This Answer Correct ? | 19 Yes | 3 No |
Post New Answer View All Answers
Which is better pointer or array?
Is there any algorithm to search a string in link list in the minimum time?(please do not suggest the usual method of traversing the link list)
What is a node in c?
How are portions of a program disabled in demo versions?
what is the role you expect in software industry?
What does s c mean on snapchat?
How can I avoid the abort, retry, fail messages?
Is it valid to address one element beyond the end of an array?
How #define works?
What is wrong with this initialization?
write a c program to calculate sum of digits till it reduces to a single digit using recursion
Linked list is a Linear or non linear explain if linear how it working as a non linear data structures
What is void main ()?
Function calling procedures? and their differences? Why should one go for Call by Reference?
What is include directive in c?