What will be printed after execution of the following program code?main(){ printf("\\nab"); printf("\\bsi"); printf("\\rha"); } hai absiha asiha haasi None of these TRUE ANSWER : ? YOUR ANSWER : ?
Find the output of the following program.#include<stdio.h>void main(){ int y=10; if(y++>9 && y++!=11 && y++>11) printf("%d", y); else printf("%d", y);} 14 13 11 12 Compilation error TRUE ANSWER : ? YOUR ANSWER : ?
What does the following declaration mean?int (*ptr)[10]; ptr is an array of 10 integers ptr is array of pointers to 10 integers ptr is a pointer to an array of 10 integers ptr is an pointer to array TRUE ANSWER : ? YOUR ANSWER : ?
The recursive functions are executed in a ........... Random order First In First Out order Last In First Out order Iterative order Parallel order TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of given program?#include<stdio.h>void main(){ int i=1, j=-1; if((printf("%d", i)) < (printf("%d", j))) printf("%d", i); else printf("%d", j);} 1 -1 1 1 -1 -1 -1 1 complier error TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the given program?#includevoid main(){float num=5.6;switch(num){case 5:printf("5");case 6:printf("6");default : printf("0");break;}printf("%d", num);} Complier error 5 5.600000 0 5.600000 6 5.600000 TRUE ANSWER : ? YOUR ANSWER : ?
Determine Output:void main(){ int i; printf("%d", scanf("%d", &i)); // value 10 is given as input here} 1 Garbage Value None of These 10 TRUE ANSWER : ? YOUR ANSWER : ?
Determine Output:void main(){ int i; char a[]="�"; if(printf("%sn", a)) printf("Ok here n"); else printf("Forget itn");} Error Forget it None of These Ok here TRUE ANSWER : ? YOUR ANSWER : ?
Determine output:void main(){ int i=10; i = !i>14; printf("i=%d", i); } 10 0 1 None of these 14 TRUE ANSWER : ? YOUR ANSWER : ?
Find the output of the following program.void main(){ printf("%d, %d", sizeof(int *), sizeof(int **));} 2, 0 2, 4 0, 2 2, 2 4, 4 TRUE ANSWER : ? YOUR ANSWER : ?