Your score will be displayed while taking the exam itself. After finishing the ONLINE EXAM press index or => to go to the other etests. ALL THE BEST!
If recursion is not used to print post order, what other data structure you use
Stack
Queue
Array
None of the Given Answers
Can u use stack always in place of recursion?
yes
No
Depends
None of the Given Answers
What is the output of the Program?
main() { int a[10]={1,2,3,4,5,6,7,8,9,10}; int *p=a; int *q=&a[9]; printf("%d",q-p+1); }
10
20
30
None of the Given Answers
main() { int i=6; int *p=&i; free(p); printf("%d",i); }
No Error.
Free can't be used for p,
Compiler Error.
In printf we should use *p instead of i.
What is the output of the Program?
main() { int i=5; i=!i>3; printf("%d",i); }
0
9
8
None of the Given Answers
What is the output of the Program?
main() { int a[10]; 3[a]=10; printf("%d",*(a+3)); }
10
20
30
None of the Given Answers
int (*p[10]) (); In above declaration what type of variable is P?
P is array of pointers that each points to a function that takes no arguments and returns an int.
P is array of character that each points to a function that takes no arguments and returns an int.
P is array of integers that each points to a function that takes no arguments and returns an int.
None of the Given Answers
What is the output of the Program? struct emp { int a=25; char b[20]="tgk"; }; main { emp e; e.a=2; strcpy(e.b,"tellapalli"); printf("%d %s",e.a,e.b); }
Compiler Error
Runtime Error
None of the Given Answers
Assins respective valus to struct elements
What is the output of the Program? main() { int a=5; const int *p=&a; *p=200; printf("%d",*p); }
Compiler Error
Runtime Error
None of the Given Answers
Assins respective valus the variable
What is the output of the Program? #define SQ(x) x*x main() { int a=SQ(2+1); printf("%d",a); }