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



Is there any restriction in how many arguments printf or scanf function can take? in which file ..

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

Is there any restriction in how many arguments printf or scanf function can take? in which file ..

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

Is there any restriction in how many arguments printf or scanf function can take? in which file ..

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

Is there any restriction in how many arguments printf or scanf function can take? in which file ..

Answer / s.velmurugan

Yes

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More C Interview Questions

What is 1d array in c?

0 Answers  


Where is c used?

0 Answers  


write the program for prime numbers?

73 Answers   Accenture, Aptech, Infosys, TCS,


How can I trap or ignore keyboard interrupts like control-c?

0 Answers  


What is the difference b/w Structure & Array?

6 Answers  


What is class and object in c?

0 Answers  


a=0; while(a<5) printf("%d\n",a++); how many times does the loop occurs? a.infinite b.5 c.4 d.6

7 Answers   TCS,


Why is it usually a bad idea to use gets()? Suggest a workaround.

1 Answers  


What is #include called?

0 Answers  


What is a example of a variable?

0 Answers  


Eight queens puzzle

0 Answers  


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,


Categories