Identify the correct argument for the function call fflush
() in ANSI C:
A)stdout
B)stdin
C)stderr
D)All the above
Answer Posted / pankaj goswami
d is the right ans because fflush contain all stdin for
standardinput,output and error.
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
Write a program to maintain student’s record. Record should
not be available to any unauthorized user. There are three
(3) categories of users. Each user has its own type. It
depends upon user’s type that which kind of operations user
can perform. Their types and options are mentioned below:
1. Admin
(Search Record [by Reg. No or Name], View All Records,
Insert New Record, Modify Existing Record)
2. Super Admin
(Search Record [by Reg. No or Name], View All Records,
Insert New Record, Modify Existing Record, Delete Single Record)
3. Guest
(Search Record [by Reg. No or Name], View All Records)
When first time program runs, it asks to create accounts.
Each user type has only 1 account (which means that there
can be maximum 3 accounts). In account creation, following
options are required:
Login Name: <6-10 alphabets long, should be unique>
Password: <6-10 alphabets long, should not display
characters when user type>
Confirm Password:
define string ?
What are all different types of pointers in c?
Do you know the difference between malloc() and calloc() function?
Describe newline escape sequence with a sample program?
Explain the advantages of using macro in c language?
Differentiate between declaring a variable and defining a variable?
Explain the use of keyword 'register' with respect to variables.
The number of measuring units from an arbitarary starting point in a record,area,or control block to some other point a) recording pointer b) offset c) branching d) none
How can I insert or delete a line (or record) in the middle of a file?
What’s a signal? Explain what do I use signals for?
What would be an example of a structure analogous to structure c?
Is c still relevant?
What is the use of extern in c?
How many parameters should a function have?