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
what is ur strangth & weekness
This is a variation of the call_me function in the previous question:call_me (myvar)int *myvar;{ *myvar += 5; }The correct way to call this function from main() will be a) call_me(myvar) b) call_me(*myvar) c) call_me(&myvar) d) expanded memory
What is static function in c?
Explain what are the standard predefined macros?
What is the difference between if else and switchstatement
What are the types of c language?
A program is required to print your biographic information including: Names, gender, student Number, Cell Number, line of study and your residential address.
What happens if a header file is included twice?
What is const and volatile in c?
Is there a way to compare two structure variables?
What is volatile c?
Stimulate calculator using Switch-case-default statement for two numbers
What are structural members?
Do you know the use of 'auto' keyword?
What is the use of in c?