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 |
Do you have any idea about the use of "auto" keyword?
what is the flow of execution in cprogram? ex:printf();,scanf();
Write program to remove duplicate in an array?
What is the advantage of an array over individual variables?
how can i include my own .h file EX:- alex.h like #include<alex.h>, rather than #include"alex.h"
#include<stdio.h> main() { char s1[]="Ramco"; char s2[]="Systems"; s1=s2; printf("%s",s1); } what will happen if you executed this code?
What is a structure and why it is used?
12345 1234 123 12 1
write a pgm to print 1 1 2 1 1 2 3 2 1 1 2 3 4 3 2 1
Is fortran faster than c?
What is queue in c?
when will be evaluated as true/ if(x==x==x) a) x=1; b) x=0; c) x=-1; d) none