#include<>stdio.h>
#include<>conio.h>
{
printf("hello");
void main()
getch();
} what the out put of this program and why ......plz clear
my answer
Answers were Sorted based on User's Feedback
Answer / sambath
answer is =" Unable to open the header files and must be
open brash come after main program "
| Is This Answer Correct ? | 18 Yes | 5 No |
Answer / meg&
#include<stdio.h>
#include<conio.h>
voidn main
{
clrscr();
printf("Try this one");
getch();
}
| Is This Answer Correct ? | 9 Yes | 4 No |
Answer / naina
#include<stdio.h>
#include<conio.h>
void main()
{
printf("any message to display on console");
getch();
}
| Is This Answer Correct ? | 5 Yes | 2 No |
Answer / lalithpriya
#include<stdio.h>
#include<conio.h>
void main()
{
clrscr();
printf("Hello!");
getch();
}
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / sansiri
the output is not display for this program because unable to
open header files due to the syntax is error and after the
main function only the braces are opened
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / dhatchina moorthy
actually this program will be showing error
the correct one may be following:
#include<>stdio.h>
#include<>conio.h>
void main()
{
printf("hello");
getch();
}
| Is This Answer Correct ? | 5 Yes | 7 No |
Answer / geetha.s.b
answer is =" Unable to open the header files and must be
open brash come after main program "
| Is This Answer Correct ? | 0 Yes | 5 No |
Answer / shreyas
#include<stdio.h>
#include<conio.h>
{
printf("hello");
void main()
getch();
}
if this is the case....then it will return an error that
braces '{' are not at the right place
| Is This Answer Correct ? | 4 Yes | 10 No |
Answer / parvathy mohan
#include<>stdio.h>
#include<>conio.h>
void main()
{
printf("hello");
scanf("%d",&hello);
getch();
}
| Is This Answer Correct ? | 0 Yes | 6 No |
void main() { int i=5,y=3,z=2,ans; clrscr(); printf("%d",++i + --z + i++ + --i * ++y); i=5,y=3,z=2; ans=++i + --z + i++ + --i * ++y; printf("\n%d",ans); getch(); } Its output is 37 and 31.... Please explain me why its different How it works.....
main() { char c; for(c='A';c<='Z';c++) getch(); }
void main() { int i=5; printf("%d",i+++++i); }
Display this kind of output on screen. 1 0 1 1 0 1 3. Display this kind of output on screen. 1 1 0 1 0 1 4. Display this kind of output on screen. 1 1 0 1 0 1 5.Display this kind of output on screen. 1 2 3 4 5 6 7 8 9 10
Write a c-programe that input one number of four digits and find digits sum?
void main() { int i=1; printf("%d%d%d",i,++i,i++); } Cau u say the output....?
Why are memory errors hard to debug?
Declaration of Cube Guys please help me.. Is this a right way to declare cube.? If i Compile it. It Says: Cube undeclared what should i do? Please help \thanks in advanced #include<stdio.h> #include<math.h> #include<conio.h> main( ) { float x,y; while(x++<10.0) { printf("Enter Number:"); scanf("%d", &x); y = cube(x); printf("%f %f %f \n", x,pow(x,2),y); cube(x); } { float x; float y; y = x*x*x; } getch(); return (y); }
char* f() return "hello:"; void main() {char *str=f(); }
How to create a program that lists countries capitals when country is entered? (Terribly sorry, I'm a complete novist to coding with C, am looking for inspiration and general tips on how to code and create this program.)
How to convert hexadecimal to binary using c language..
1 Answers Bajaj, GAIL, Satyam, Zenqa,
#include"stdio.h" #include"conio.h" void main() { int a; printf("\n enter a number:"); scanf("%c\n"); getch(); }