C Programming What is the difference between a declaration and a definition of a variable? A declaration occurs once, but a definition may occur many times. A definition occurs once, but a declaration may occur many times. Both can occur multiple times, but a declaration must occur first. 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. A definition occurs once, but a declaration may occur many times. Both can occur multiple times, but a declaration must occur first. Both can occur multiple times, but a definition must occur first. There is no difference between them. ANSWER DOWNLOAD EXAMIANS APP
C Programming In an expression involving || operator, evaluationI. Will be stopped if one of its components evaluates to falseII. Will be stopped if one of its components evaluates to trueIII. Takes place from right to leftIV. Takes place from left to right I and II II and III III and IV II and IV I and III I and II II and III III and IV II and IV I and III ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?#include#define prod(a,b) a*bvoid main(){ int x=3,y=4; printf("%d", prod(x+2,y-1));} None of these 12 15 11 10 None of these 12 15 11 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char s[]="man"; int i; for(i=0; s[i]; i++) printf("%c%c%c%c ", s[i], *(s+i), *(i+s), i[s]);} mmmm nnnn aaaa Compiler Error mmm nnn aaa None of These mmmm nnnn aaaa Compiler Error mmm nnn aaa None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program code?main(){ static int var = 5; printf("%d ", var--); if(var) main();} Infinite Loop Compilation Error 5 4 3 2 1 5 5 5 5 5 None of these Infinite Loop Compilation Error 5 4 3 2 1 5 5 5 5 5 None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function is more appropriate for reading in a multi-word string? None of these scanf() printf() gets() puts() None of these scanf() printf() gets() puts() ANSWER DOWNLOAD EXAMIANS APP