Explain a file operation in C with an example.


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

Post New Answer

More C Interview Questions

write a program that prints a pascal triangle based on the user input(like how many stages) in an efficient time and optimized code?

3 Answers   Oracle,


what is inline function?

2 Answers  


Explain function?

0 Answers  


Write a program that receives as input a number omaadel-n-print, four digits.

0 Answers  


What is the o/p of the follow pgm? #include<stdio.h> main() { char char_arr[5]=”ORACL”; char c=’E’; prinf(“%s\n”,strcat(char_arr,c)); } a:oracle b. oracl c.e d.none

2 Answers   Oracle,






union { char ch[10]; short s; }test; test.s = 0xabcd; main() { printf("%d",ch[10]); }

3 Answers  


What are volatile variables?

1 Answers   Mind Tree,


1.Why do you call C is middle level language? 2.Why do you call C is userfriendly language.

2 Answers  


can you change name of main()?how?

3 Answers   HCL, Siemens,


Differentiate between the expression “++a” and “a++”?

0 Answers  


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

4 Answers   NIIT,


WRITE A PROGRAM TO FIND A REVERSE OF TWO NO

7 Answers  


Categories