Question
a.
use float(3.14f)
b.
use 3.14f
c.
use f(3.14)
d.
use (f)(3.14)
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. What will you do to treat the constant 3.14 as a float?
Similar Questions
Discover Related MCQs
Q. Which of the following statement obtains the remainder on dividing 5.5 by 1.3 ?
View solution
Q. Declare the following statement?
"An array of three pointers to chars".
View solution
Q. What do the following declaration signify?
int *ptr[30];
View solution
Q. Declare the following statement?
"A pointer to an array of three chars".
View solution
Q. What do the following declaration signify?
char *arr[10];
View solution
Q. What do the following declaration signify?
int (*pf)();
View solution
Q. Declare the following statement?
"A pointer to a function which receives an int pointer and returns float pointer".
View solution
Q. What do the following declaration signify?
void *cmp();
View solution
Q. Declare the following statement?
"A pointer to a function which receives nothing and returns nothing".
View solution
Q. What do the following declaration signify?
int *f();
View solution
Q. What do the following declaration signify?
void (*cmp)();
View solution
Q. What do the following declaration signify?
char **argv;
View solution
Q. What do the following declaration signify?
char *scr;
View solution
Q. An external variable
View solution
Q. The declaration "unsigned u" indicates u is a/an
View solution
Q. A declaration "short int" is used for variables
View solution
Q. Which of the following 'C' type is not a primitive data structure?
View solution
Q. Printing a character as an integer
View solution
Q. The program fragment
int i = 263 ;
putchar (i) ;
prints
View solution
Q. int i = 5; is a statement in a C program.
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!