Define a structure to store roll no, name and marks of a student. Using the structure of above write a ‘C’ program to create a file “student.dat”. There must be one record for every student in the file. Accept the data from the user.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

 Illustrate it   summing the series 2+4+6+......to n terms using  (i) while loop (ii) do-while loop

2 Answers  


Why do we need functions in c?

0 Answers  


Can u return two values using return keyword? If yes, how? If no, why?

7 Answers  


The statement, int(*x[]) () what does in indicate?

0 Answers  


Describe the modifier in c?

0 Answers  






How can draw a box in cprogram without using graphics.h header file & using only one printf(); ?

4 Answers   NIIT,


What do you mean by dynamic memory allocation in c? What functions are used?

0 Answers  


What is #include called?

0 Answers  


How many types of sorting are there in c?

0 Answers  


Ow can I insert or delete a line (or record) in the middle of a file?

0 Answers  


What is sizeof int in c?

0 Answers  


Who had beaten up hooligan "CHAKULI" in his early college days?

1 Answers  


Categories