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

Do you have any idea about the use of "auto" keyword?

0 Answers  


what is the flow of execution in cprogram? ex:printf();,scanf();

2 Answers  


Write program to remove duplicate in an array?

0 Answers  


What is the advantage of an array over individual variables?

0 Answers  


how can i include my own .h file EX:- alex.h like #include<alex.h>, rather than #include"alex.h"

1 Answers  






#include<stdio.h> main() { char s1[]="Ramco"; char s2[]="Systems"; s1=s2; printf("%s",s1); } what will happen if you executed this code?

4 Answers   Ramco,


What is a structure and why it is used?

0 Answers   Hexaware,


12345 1234 123 12 1

2 Answers  


write a pgm to print 1 1 2 1 1 2 3 2 1 1 2 3 4 3 2 1

3 Answers  


Is fortran faster than c?

0 Answers  


What is queue in c?

0 Answers  


when will be evaluated as true/ if(x==x==x) a) x=1; b) x=0; c) x=-1; d) none

7 Answers   HCL,


Categories