C Programming What will be output after executing following code?#include# define a 10void main(){ printf("%d..", a); foo(); printf("%d", a);}void foo(){ #undef a #define a 50} 10..50 Error 10..10 0 10..50 Error 10..10 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function is used to find the first occurrence of a given string in another string? None of these strrchr() strnset() strchr() strstr() None of these strrchr() strnset() strchr() strstr() 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 III I and II III and IV II and IV II and III I and III I and II III and IV II and IV II and III ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of following program code?#include int main(void){ char p; char buf[10] = {1, 2, 3, 4, 5, 6, 9, 8}; p = (buf + 1)[5]; printf("%d", p); return 0;} 5 Error 6 None of these 9 5 Error 6 None of these 9 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i = abc(10); printf("%d", --i);}int abc(int i){ return(i++);} 9 11 None of These 10 9 11 None of These 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the difference between a declaration and a definition of a variable? There is no difference between them. A definition occurs once, but a declaration may occur many times. Both can occur multiple times, but a declaration must occur first. A declaration occurs once, but a definition may occur many times. Both can occur multiple times, but a definition must occur first. There is no difference between them. A definition occurs once, but a declaration may occur many times. Both can occur multiple times, but a declaration must occur first. 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