The recursive functions are executed in a ........... Parallel order Last In First Out order Random order First In First Out order Iterative order TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output given program?#include<stdio.h>void main(){int i = -10;for(;i;printf("%d ", i++));} -10 to 0 Complier error -10 to infinite -10 to -1 TRUE ANSWER : ? YOUR ANSWER : ?
Determine Output:void main(){ char *p; p="Hello"; printf("%c", *&*p);} None of These Some Address will be printed Hello H TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following program?#include<stdio.h>#define prod(a,b) a*bvoid main(){ int x=3,y=4; printf("%d", prod(x+2,y-1));} 11 None of these 10 15 12 TRUE ANSWER : ? YOUR ANSWER : ?
What will be the final value of the digit?void main(){ int digit = 0; for( ; digit <= 9; ) digit++; digit *= 2; --digit;} -1 16 17 19 20 TRUE ANSWER : ? YOUR ANSWER : ?
Determine Output:void main(){ int i=1; while(i<=5) { printf("%d", i); if(i>2) goto here; i++; }}fun(){ here: printf("PP");} 12PP 12PP345 None of These Compiler Error TRUE ANSWER : ? YOUR ANSWER : ?
In which stage the following code#include<stdio.h>gets replaced by the contents of the file stdio.h During linking None of these During Editing During Execution During Preprocessing TRUE ANSWER : ? YOUR ANSWER : ?
Which of the following is correct way to define the function fun() in the below program?#include<stdio.h>void main(){ int a[3][4]; fun(a);} void fun(int *p[][4]){} None of these void fun(int p[][4]){} void fun(int *p[4]){} void fun(int *p[3][4]){} TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following program?#include<stdio.h>void main(){ int i = 10; void *p = &i; printf("%d\n", (int)*p);} Compiler time error Undefined behavior Segmentation fault/runtime crash 10 TRUE ANSWER : ? YOUR ANSWER : ?
Identify the correct output of the following code:void main(){ int w=10, x=5, y=3, z=3; if( (w < x ) && (y=z++) ) printf("%d %d %d %d", w, x, y, z); else printf("%d %d %d %d", w, x, y, z);} 10 5 4 4 10 5 5 5 10 5 4 3 10 5 3 4 10 5 3 3 TRUE ANSWER : ? YOUR ANSWER : ?