Is there any restriction in how many arguments printf or
scanf function can take?
in which file in my c++ compiler i can see the code for
implementation of these two functions??
Answers were Sorted based on User's Feedback
Answer / uma sankar pradhan
printf() and scanf() are variable argument list functions
They can take any number of values as their arguments
The prototypes for these functions are found in the header
file "stdio.h"
Is This Answer Correct ? | 20 Yes | 2 No |
Answer / some
There is limitation as the function call stack is limited but both functions have variable number of arguments.
The functions are defined in <cstdio>
Is This Answer Correct ? | 6 Yes | 1 No |
Answer / venkatesh
printf() and scanf() can take any number of arguments.
the prototypes of these functiona are stdio.h and conio.h
Is This Answer Correct ? | 8 Yes | 7 No |
What is 1d array in c?
Where is c used?
write the program for prime numbers?
73 Answers Accenture, Aptech, Infosys, TCS,
How can I trap or ignore keyboard interrupts like control-c?
What is the difference b/w Structure & Array?
What is class and object in c?
a=0; while(a<5) printf("%d\n",a++); how many times does the loop occurs? a.infinite b.5 c.4 d.6
Why is it usually a bad idea to use gets()? Suggest a workaround.
What is #include called?
What is a example of a variable?
Eight queens puzzle
write a program to swap bits in a character and return the value prototype of function char fun (char a, charb flag c) where fun returns a char, char a is a the value char b is the bit to be changed and flag c is the bit value for eg: x=fun(45,7,0) since 45 is 0010 0101 and ow x should contain the value 65 (0110 0101)
1 Answers Bosch, College School Exams Tests,