Question
a.
int
b.
float
c.
char
d.
long int
Posted under C Programming
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. In C programming language, if the first and the second operands of operator + are of types int and float, respectively, the result will be of type
Similar Questions
Discover Related MCQs
Q. C programming language provides operations which deal directly with objects such as
View solution
Q. C programming language by itself provides
View solution
Q. The variables which can be accessed by all modules in a program, are called
View solution
Q. The rule for implicit type conversion in 'C' is
View solution
Q. Consider the following statement:
#define hypotenuse (a, b) sqrt (a*a + b*b);
The macro-call hypotenuse (a + 2, b + 3);
View solution
Q. A static variable
View solution
Q. The statement
# include < math.h>
is written at the top of a program to indicate
View solution
Q. The declarations
typedef float hight [100];
height men, women;
View solution
Q. In case of ordinary int variables
View solution
Q. If a is an unsigned integer variable whose value is hx6db7, what is the value of -a?
View solution
Q. The C declaration
int b [100];
reserves ____________ successive memory locations,each large enough to contain single integer.
View solution
Q. The value of an automatic variable that is declared but not initialized will be
View solution
Q. Choose the correct answer
View solution
Q. Which of the following comments regarding the reading of a string, using scanf(with optional) and get is true?
View solution
Q. If integer needs two bytes of storage, then maximum value of a signed interger is
View solution
Q. The minimum number of temporary variables needed to swap the contents of two variables is
View solution
Q. If s and b are integers then purpose of the following program fragment is to
b = s + b ;
s = b - s ;
b = b - s ;
View solution
Q. If integer needs two bytes of storage, then maximum value of a signed integer is
View solution
Q. printf ( "%d" , printf ( "tim" ) ):
View solution
Q. Consider the statements:
putchar ( getchar ( ));
putchar(getchar( ));
If
a
b
is the input, the output will be
View solution
Suggested Topics
Are you eager to expand your knowledge beyond C Programming? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!