Determine Output:void main(){ int i=10; i=!i>14; printf("i=%d", i);} 0 1 14 10 TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the given program?#include<stdio.h>void main(){int a=11,b=5;if(a=5) b++;printf("%d %d", ++a, b++);} 6 7 5 6 12 7 11 6 6 6 TRUE ANSWER : ? YOUR ANSWER : ?
Determine the Final Output:void main(){ printf("\nab"); printf("\bsi"); printf("\rha");} hai asiha haasi absiha TRUE ANSWER : ? YOUR ANSWER : ?
Determine Output:void main(){ int i; char a[]="�"; if(printf("%sn", a)) printf("Ok here n"); else printf("Forget itn");} Forget it None of These Ok here Error TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following code fragment?void main(){ printf("%x",-1<<4);} fff2 fff4 fff1 fff3 fff0 TRUE ANSWER : ? YOUR ANSWER : ?
Determine Output:void main(){ char *p; printf("%d %d", sizeof(*p), sizeof(p));} 1 1 2 1 1 2 2 2 TRUE ANSWER : ? YOUR ANSWER : ?
Which of the following is a complete function? void funct(x) { printf(“Hello"); } void funct(int) { printf(“Hello"); } int funct(); None of these int funct(int x) { return x=x+1; } TRUE ANSWER : ? YOUR ANSWER : ?
Determine Output:void main(){ char s[]="man"; int i; for(i=0; s[i]; i++) printf("%c%c%c%c ", s[i], *(s+i), *(i+s), i[s]);} Compiler Error None of These mmm nnn aaa mmmm nnnn aaaa TRUE ANSWER : ? YOUR ANSWER : ?
Determine Output:void main(){ char string[]="Hello World"; display(string);}void display(char *string){ printf("%s", string);} None of These Can't Say Compiler Error will print Hello World TRUE ANSWER : ? YOUR ANSWER : ?
The address operator &, cannot act on R-values Local variables Both of the above Members of a structure Arithmetic expressions TRUE ANSWER : ? YOUR ANSWER : ?