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

Write a c program to print the even numbers followed by odd numbers in an array without using additional array

1 Answers   Tech Mahindra,


What is the function of multilevel pointer in c?

1 Answers  


What is meant by high-order and low-order bytes?

1 Answers  


What is variable in c example?

1 Answers  


What are the different data types in C?

1 Answers  


How will you find a duplicate number in a array without negating the nos ?

1 Answers  


What is the difference between text and binary i/o?

1 Answers  


What is function prototype?

1 Answers  


What is scope of variable in c?

1 Answers  


Difference between MAC vs. IP Addressing

1 Answers  


Write a function stroverlap that takes (at least) two strings, and concatenates them, but does not duplicate any overlap. You only need to worry about overlaps between the end of the first string and the beginning of the second string. Examples: batman, manonthemoon = batmanonthemoon batmmamaman, mamamanonthemoon = batmmamamanonthemoon bat, man = batman batman, batman = batman batman, menonthemoon = batmanmenonthemoon

1 Answers   HCL,


why i join syntel?

23 Answers   ABC, Syntel, TCS,


Categories