C Programming The library function used to find the last occurrence of a character in a string is strnstr() None of these strrchr() laststr() strstr() strnstr() None of these strrchr() laststr() strstr() ANSWER DOWNLOAD EXAMIANS APP
C Programming The output of the following program is:#define f(g,g2) g##g2void main(){ int var12=100; printf("%d", f(var,12));} 10012 Runtime error 100 Syntax error g##g2 10012 Runtime error 100 Syntax error g##g2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i; printf("%d", scanf("%d", &i)); // value 10 is given as input here} 1 None of These Garbage Value 10 1 None of These Garbage Value 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is function? All of these Function is a block of code that performs a specific task. It has a name and it is reusable. Function is the fundamental modular unit. A function is usually designed to perform a specific task. Function is a block of statements that perform some specific task. All of these Function is a block of code that performs a specific task. It has a name and it is reusable. Function is the fundamental modular unit. A function is usually designed to perform a specific task. Function is a block of statements that perform some specific task. ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following program fragment:for(c=1, sum=0; c <= 10; c++){ scanf("%d", &x); if( x < 0 ) continue; sum += x;}What would be the value of sum for the input 1, -1, 2, -2, 3, -3, 4, -4, 5, -5 15 -5 30 10 1 15 -5 30 10 1 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 6 5 11 10 9 6 5 11 10 ANSWER DOWNLOAD EXAMIANS APP