C Programming What is the difference between a declaration and a definition of a variable? Both can occur multiple times, but a definition must occur first. There is no difference between them. A declaration occurs once, but a definition may occur many times. Both can occur multiple times, but a declaration must occur first. A definition occurs once, but a declaration may occur many times. Both can occur multiple times, but a definition must occur first. There is no difference between them. A declaration occurs once, but a definition may occur many times. Both can occur multiple times, but a declaration must occur first. A definition occurs once, but a declaration may occur many times. ANSWER DOWNLOAD EXAMIANS APP
C Programming What number will z in the sample code given below?int z, x=5, y= -10, a=4, b=2;z = x++ - --y*b/a; 9 10 5 11 6 9 10 5 11 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which is the only function all C programs must contain? printf() start() main() system() getch() printf() start() main() system() getch() ANSWER DOWNLOAD EXAMIANS APP
C Programming Comment on the following pointer declaration?int *ptr, p; ptr is a pointer to integer, p is not. ptr is pointer to integer, p may or may not be. ptr and p, both are pointers to integer. ptr and p both are not pointers to integer. ptr is a pointer to integer, p is not. ptr is pointer to integer, p may or may not be. ptr and p, both are pointers to integer. ptr and p both are not pointers to integer. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of this program on an implementation where int occupies 2 bytes?#include void main(){ int i = 3; int j; j = sizeof(++i + ++i); printf("i=%d j=%d", i, j);} the behavior is undefined i=3 j=2 i=5 j=2 i=4 j=2 the behavior is undefined i=3 j=2 i=5 j=2 i=4 j=2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static int i=5; if(--i){ main(); printf("%d ", i); }} None of These 5 4 3 2 1 0 0 0 0 Infinite Loop None of These 5 4 3 2 1 0 0 0 0 Infinite Loop ANSWER DOWNLOAD EXAMIANS APP