Related Questions
What is the correct answer?
4
Which of the following expressions is wrong
What is the correct answer?
4
A C variable cannot start with
C. A special symbol other than underscore
What is the correct answer?
4
An array declared as A[100][100] can hold a maximum of 100 elements.
What is the correct answer?
4
fprintf()function can be used to write into console.
What is the correct answer?
4
All macro substitutions in a program are done before compilation of the program.
What is the correct answer?
4
C is a ___ language
A. High Level and Procedural
C. Middle Level and Procedural
D. Machine Level and OOPS
What is the correct answer?
4
The output of the following code is:
main()
{
xyz: goto abc;
printf("Hello");
abc: printf("World");
goto xyz;
}
What is the correct answer?
4
Identify the wrong statement
What is the correct answer?
4
Which options shows the correct hierarchy of arithmetic operators
What is the correct answer?
4
perror( ) function used to ?
B. prints the error message specified by the compiler
C. prints the garbage value assigned by the compiler
What is the correct answer?
4
The identifier argv[] is a pointer to an array of strings.
What is the correct answer?
4
do-while loop is useful when we want the statements within the loop must be executed
What is the correct answer?
4
The output of the following code is:
void main()
{
static int a = 1, b, c;
if (a>=2) b=2; c=3;
printf("%d\t%d", b,c);
}
What is the correct answer?
4
gets() and puts() are unformatted I/O functions.
What is the correct answer?
4
The main() function can be called from any other function.
What is the correct answer?
4
What will be output if you will compile and execute the following c code?
#include
int main(){
int i=320;
char *ptr=(char *)&i;
printf("%d",*ptr);
return 0;
}
What is the correct answer?
4
strcat() function ----------------------- two strings.
What is the correct answer?
4
What will be output if you will compile and execute the following c code?
#include
int main()
{
float a=5.2;
if(a==5.2)
printf("Equal");
else if(a<5.2)
printf("Less than");
else
printf("Greater than");
return 0;
}
What is the correct answer?
4
The expression (i + j)++ is illegal.
What is the correct answer?
4
= and = = have the same operation.
What is the correct answer?
4
Structures within structures cannot be created.
What is the correct answer?
4
The output of the following code is:
main()
{
int a = 0;
for (; i = 0; i++)
printf("%d", a);
}
B. Nothing will be displayed
What is the correct answer?
4
The statement "for (i = 0, j = 2; j <= 10; j++)" is a valid statement in 'C'.
What is the correct answer?
4
The output of the following code is:
void main()
{
int a;
int &b = a;
a=100;
printf("b=%d\ta=%d
", b,a);
}
What is the correct answer?
4
Variables declared as register storage type gets stored in CPU registers.
What is the correct answer?
4
The expression 'int j = 6 + 3 % -9;' evaluates to -1.
What is the correct answer?
4
If 'str' is a string of 7 characters, the statement printf("%4s", str); will display ------characters.
What is the correct answer?
4
Which classes allow primitive types to be accessed as objects?
What is the correct answer?
4
What would be the output of the following program?
int x=40;
main(){
int x=20;
printf("
%d",x);
}
What is the correct answer?
4
The size of signed integer is ------ bytes.