C Programming
What is the result of compiling and running this code?main(){ char string[] = "Hello World"; display(string);}void display(char *string){ printf("%s", string);}

None of these.
will print garbage value
Compilation Error
will print Hello World

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What is the right choice, if the following loop is implemented?void main(){ int num = 0; do{ --num; printf("%d", num); }while( ++num >= 0 );}

The loop will run infinitely many times.
Prints the value of 0 one time only.
The program will not enter into the loop.
There will be a compilation error reported.
A run time error will be generated.

ANSWER DOWNLOAD EXAMIANS APP