C Programming What is the difference between a declaration and a definition of a variable? A definition occurs once, but a declaration may occur many times. Both can occur multiple times, but a declaration 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 definition must occur first. A definition occurs once, but a declaration may occur many times. Both can occur multiple times, but a declaration 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 definition must occur first. ANSWER DOWNLOAD EXAMIANS APP
C Programming What does the following declaration mean?int (*ptr)[10]; ptr is an pointer to array ptr is array of pointers to 10 integers ptr is a pointer to an array of 10 integers ptr is an array of 10 integers ptr is an pointer to array ptr is array of pointers to 10 integers ptr is a pointer to an array of 10 integers ptr is an array of 10 integers ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ int const *p=5; printf("%d", ++(*p));} 5 Garbage Value Compiler Error 6 5 Garbage Value Compiler Error 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming Comment on the following?const int *ptr; We cannot change the value pointed by ptr. We cannot change the pointer ptr itself. Both of the above We can change the pointer as well as the value pointed by it. We cannot change the value pointed by ptr. We cannot change the pointer ptr itself. Both of the above We can change the pointer as well as the value pointed by it. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ extern int i; i=20; printf("%d", sizeof(i));} Linker Error 20 2 Compiler Error Linker Error 20 2 Compiler Error ANSWER DOWNLOAD EXAMIANS APP
C Programming C Language developed at _________? Sun Microsystems in 1973 AT & T's Bell Laboratories of USA in 1972 Cambridge University in 1972 AT & T's Bell Laboratories of USA in 1970 Sun Microsystems in 1973 AT & T's Bell Laboratories of USA in 1972 Cambridge University in 1972 AT & T's Bell Laboratories of USA in 1970 ANSWER DOWNLOAD EXAMIANS APP