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



b) 4 c) 6 d) 7 32. Any C program a) must contain at least one function b) need not contain ant..

Answer / priyanka

any c program must contain atleast one fuction which is called main()

Is This Answer Correct ?    19 Yes 3 No

Post New Answer

More C Interview Questions

Should I learn data structures in c or python?

0 Answers  


what is function pointer?

2 Answers   Wipro,


Can you please explain the difference between syntax vs logical error?

0 Answers  


what is the definition of storage classes?

3 Answers   Wipro,


Explain what are the different data types in c?

0 Answers  






How will you find a duplicate number in a array without negating the nos ?

0 Answers  


Why isn't any of this standardized in c? Any real program has to do some of these things.

0 Answers  


What are the different types of endless loops?

0 Answers  


How do c compilers work?

0 Answers  


Why void main is used in c?

0 Answers  


How to explain the final year project as a fresher please answer with sample project

0 Answers  


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

0 Answers  


Categories