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 / priyanka
any c program must contain atleast one fuction which is called main()
Is This Answer Correct ? | 19 Yes | 3 No |
Should I learn data structures in c or python?
what is function pointer?
Can you please explain the difference between syntax vs logical error?
what is the definition of storage classes?
Explain what are the different data types in c?
How will you find a duplicate number in a array without negating the nos ?
Why isn't any of this standardized in c? Any real program has to do some of these things.
What are the different types of endless loops?
How do c compilers work?
Why void main is used in c?
How to explain the final year project as a fresher please answer with sample project
An arrangement of information in memory in such a way that it can be easily accessed and processed by a programming language a) string b) data structure c) pointers d) array