Why is conio.h not required when we save a file as .c and
use clrscr() or getch() ?

Answers were Sorted based on User's Feedback



Why is conio.h not required when we save a file as .c and use clrscr() or getch() ?..

Answer / kuldeep yadav

not only conio.h , also stdio.h we dont need while saving a
C program with the extension '.c'... but in recent turbo C
or borland C compilers only it's allowing , it may be to
reduce the time of typing these files to include rather
getting automatically included.....

Is This Answer Correct ?    6 Yes 1 No

Why is conio.h not required when we save a file as .c and use clrscr() or getch() ?..

Answer / vignesh1988i

not only conio.h , also stdio.h we dont need while saving a
C program with the extension '.c'... but in recent turbo C
or borland C compilers only it's allowing , it may be to
reduce the time of typing these files to include rather
getting automatically included.....

and even we can type main() instead of void main() , it is
accepting with the warning.............


thank u

Is This Answer Correct ?    5 Yes 3 No

Post New Answer

More C Interview Questions

What is union in c?

0 Answers  


long int size a) 4 bytes b) 2 bytes c) compiler dependent d) 8 bytes

18 Answers   Acropolis, HCL, Intel, TCS,


Write a program on swapping (100, 50)

0 Answers   BPL,


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

4 Answers   NIIT,


What is the purpose of main( ) in c language?

0 Answers  






#define f(g,h) g##h main O int i=0 int var=100 ; print f ("%d"f(var,10));} what would be the output?

1 Answers   Wipro,


Is there any book to know about Basics of C Language?

4 Answers  


An entire structure variable can be assigned to another structure variable if __________

3 Answers   Sasken, TCS, Tech Mahindra, Wipro,


what is the output of following question? void main() { int i=0,a[3]; a[i]=i++; printf("%d",a[i] }

3 Answers  


Is linux written in c?

0 Answers  


Tell me the use of bit field in c language?

0 Answers  


void main(int argc,char *argv[],char *env[]) { int i; for(i=1;i<argc;i++) printf("%s",env[i]); }

3 Answers  


Categories