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

How many types of operators are there in c?

0 Answers  


what will be the output for the following main() { printf("hi" "hello"); }

5 Answers   RoboSoft,


What is the difference between big endian form and little endian form? write a code to convert big endian form to little endian and vice versa..

5 Answers   Aricent, TCS,


How do I convert a string to all upper or lower case?

0 Answers  


what is the difference between declaration ,defenetion and initialization of a variable?

7 Answers   LG Soft,


Draw a diagram showing how the operating system relates to users, application programs, and the computer hardware ?

0 Answers  


What are compound statements?

0 Answers  


What is static memory allocation? Explain

0 Answers  


can we access one file to one directory?

1 Answers  


What are the differences between new and malloc in C?

0 Answers   Amazon,


Do variables need to be initialized?

0 Answers  


Is the below things valid & where it will be stored in memory layout ? static const volatile int i; register struct { } ; static register;

2 Answers   Lucent,


Categories