Related Questions
What is the correct answer?
4
There are total ------ numbers of operators in 'C'.
What is the correct answer?
4
Which of the following keyword supports dynamic method resolution?
What is the correct answer?
4
What is Keywords?
A. Keywords have some predefine meanings and these meanings can be changed.
B. Keywords have some unknown meanings and these meanings cannot be changed.
C. Keywords have some predefine meanings and these meanings cannot be changed.
What is the correct answer?
4
The output of the following code is:
main()
{
int a = 5, b = 6;
(a == b? printf("%d", a));
}
What is the correct answer?
4
Which escape character can be used to beep from speaker in C?
What is the correct answer?
4
Every if statement can be converted into an equivalent switch statement.
What is the correct answer?
4
A multidimensional array A[10][9] can store-------- number of elements
What is the correct answer?
4
Each pass through a loop is called a/an
What is the correct answer?
4
The main() function can call itself recursively.
What is the correct answer?
4
The output of the following code is:
void main()
{
int z, a = 5, b = 3; z = a * 2 + 26 % 3;
printf("%d", z); }
What is the correct answer?
4
# define PI = 8;' is the correct declaration of macros.
What is the correct answer?
4
Nested macros are allowed.
What is the correct answer?
4
struct stud
{
int roll;
char name[20];
float marks;
} *p;
What will be the byte size of p?
What is the correct answer?
4
The expression (i + j)++ is illegal.
What is the correct answer?
4
fopen() function returns a pointer to the open file.
What is the correct answer?
4
What's wrong? for (int k = 2, k <=12, k++)
A. the increment should always be ++k
B. the variable must always be the letter i when using a for loop
C. there should be a semicolon at the end of the statement
D. the commas should be semicolons
What is the correct answer?
4
What will be output if you will compile and execute the following c code?
#include
int main(){
char c=125;
c=c+10;
printf("%d",c);
return 0;
}
What is the correct answer?
4
The output of the following code is:
main()
{
int k, num = 30;
k = (num > 5 ? (num <= 10 ? 100 : 200) : 500);
printf("
%d", num);
}
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
Which one of the following is not a fundamental data type in C++
What is the correct answer?
4
Which options shows the correct hierarchy of arithmetic operators
What is the correct answer?
4
The same variable names of automatic type can be used in different functions without any conflict.
What is the correct answer?
4
Which of the following is allowed in a C Arithmetic instruction
What is the correct answer?
4
C programs are converted into machine language with the help of
What is the correct answer?
4
/* The C language.
/* is a procedural language .*/*/
The above statement is valid.
What is the correct answer?
4
Union is used to hold different data at different time.
What is the correct answer?
4
Which of the following is not recommended in a header file?
A. Type definitions (typedefs)
What is the correct answer?
4
What is the right way to access value of structure variable book{ price, page }?
A. printf("%d%d", book.price, book.page);
B. printf("%d%d", price.book, page.book);
C. printf("%d%d"< price::book< page::book);
D. printf("%d%d", price>book, page>book);
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:
void main()
{
int a = 20;
printf("%d\t%d
", ++a, a);
}