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 |
What is the basic structure of c?
What is the output of the following progarm? #include<stdio.h> main( ) { int x,y=10; x=4; y=fact(x); printf(ā%d\nā,y); } unsigned int fact(int x) { return(x*fact(x-1)); } A. 24 B. 10 C. 4 D. none
Please write me a program to print the first 50 prime numbers (NOT between the range 1 -50)
i = 25;switch (i) {case 25: printf("The value is 25 ");case 30: printf("The value is 30 "); When the above statements are executed the output will be : a) The value is 25 b) The value is 30 c) The value is 25 The value is 30 d) none
Are comments included during the compilation stage and placed in the EXE file as well?
Write a program in "C" to calculate the root of a quadratic equation ax^2+bx+c=0, where the value of a,b & c are known.
please tell me the logic for this C program : INPUT (string):ABCD OUTPUT :BCDA CDAB DABC
What are 3 types of structures?
void main() { int a[]={1,2,3,4,5},i; for(i=0;i<5;i++) printf("%d",a++); getch(); }
what is bitwise operator?
program to find out date after adding 31 days to a date in the month of febraury also consider the leap year
what is the difference between : func (int list[], ...) or func (int *list , ....) - what is the difference if list is an array and if also if list is a pointer