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
How can I send mail from within a c program?
What is the difference between strcpy() and memcpy() function in c programming?
What is the purpose of scanf() and printf() functions?
What is the condition that is applied with ?: Operator?
Explain which function in c can be used to append a string to another string?
Why do we use int main instead of void main in c?
Why doesnt the call scanf work?
Why is void main used?
How do you list a file’s date and time?
Write a program to show the change in position of a cursor using c
Explain how can you be sure that a program follows the ansi c standard?
What are reserved words with a programming language?
Explain the binary height balanced tree?
c program for searching a student details among 10 student details
What do you mean by dynamic memory allocation in c?