The address operator &, cannot act on Both of the above Local variables Arithmetic expressions Members of a structure R-values TRUE ANSWER : ? YOUR ANSWER : ?
What's wrong in the following statement, provided k is a variable of type int?for(k = 2, k <=12, k++) The variable must always be the letter i when using a for loop. The commas should be semicolons. There should be a semicolon at the end of the statement. The variable k can’t be initialized. The increment should always be ++k . TRUE ANSWER : ? YOUR ANSWER : ?
The library function used to find the last occurrence of a character in a string is strstr() strnstr() None of these laststr() strrchr() TRUE ANSWER : ? YOUR ANSWER : ?
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; 11 10 6 5 9 TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the program code?#include<stdio.h>#define a 10void main(){ #define a 50 printf("%d", a);} 50 None of These 10 Compiler Error TRUE ANSWER : ? YOUR ANSWER : ?
Determine the Final Output:void main(){ printf("\nab"); printf("\bsi"); printf("\rha");} absiha hai asiha haasi TRUE ANSWER : ? YOUR ANSWER : ?
What number would be shown on the screen after the following statements of C are executed?char ch; int i; ch = 'G'; i = ch-'A';printf("%d", i); 6 7 5 8 9 TRUE ANSWER : ? YOUR ANSWER : ?
Determine Output:void main(){ int i=10; i=!i>14; printf("i=%d", i);} 0 1 10 14 TRUE ANSWER : ? YOUR ANSWER : ?
What is right way to Initialize array? int n{6} = { 2, 4, 12 }; int num[6] = { 2, 4, 12, 5, 45, 5 }; int n(6) = { 2, 4, 12, 5, 45, 5 }; int n{} = { 2, 4, 12, 5, 45, 5 }; TRUE ANSWER : ? YOUR ANSWER : ?