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
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 |
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 |
List some of the dynamic data structures in C?
What is 'bus error'?
Explain what are run-time errors?
What type of function is main ()?
1. Write the function int countchtr(char string[ ], int ch); which returns the number of times the character ch appears in the string. Example, the call countchtr(“She lives in NEWYORK”, ‘e’) would return 3.
Is main an identifier in c?
What is null pointer in c?
What is #ifdef ? What is its application?
how the compiler treats any volatile variable?Explain with example.
Give the logic for this #include<stdio.h> #include<conio.h> void main() { clrscr(); int a=10,b; b=++a + ++a; printf("%d", b); getch(); } Output: 24......How?
Why are all header files not declared in every c program?
Write a program to find minimum between three no.s whithout using comparison operator.