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 write a prog in c to convert decimal number into binary by using recursen function,

1 Answers  


the data type used for unlimited value in c and how to do this program

1 Answers  


What does 1f stand for?

0 Answers  


What is mean by Data Driven framework in QTP? Can any one answer me in details on this regard.

0 Answers   IBM,


What is the difference b/w Structure & Array?

6 Answers  






Find greatest of two numbers using macro

4 Answers   Bosch, Siemens,


HOW TO SOLVE A NUMERICAL OF LRU IN OS ??????

0 Answers  


Explain how do you print an address?

0 Answers  


Write program to remove duplicate in an array?

0 Answers  


Write a program to reverse a given number in c?

0 Answers  


What is a void pointer in c?

0 Answers  


Q-1: Create a structure to specify data on students given below: Roll number, Name, Department, Course, Year of joining Assume that there are not more than 450 students in the college.

8 Answers  


Categories