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

how to swap four numbers without using fifth variable?

2 Answers  


What is FIFO?

3 Answers  


write aprogram for There is a mobile keypad with numbers 0-9 and alphabets on it. take input of 7 keys and then form a word from the alphabets present on those keys.

1 Answers   iGate, Shashi, Source Bits, Subex,


How to Clear last bit if it 1 using Macro TURN_OFF_BIT_LAST

6 Answers   Adobe, Huawei,


Explain what is the benefit of using const for declaring constants?

0 Answers  


Explain how can a program be made to print the name of a source file where an error occurs?

0 Answers  


what is a constant pointer in C

0 Answers  


Is double link list a linear data structure? If Yes, Why?If No, Why?

4 Answers  


Difference between macros and inline functions? Can a function be forced as inline?

0 Answers   HAL, Honeywell, Zomato,


What is the benefit of using const for declaring constants?

0 Answers  


What's wrong with "char *p = malloc(10);" ?

4 Answers  


Explain the red-black trees?

0 Answers  


Categories