#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 |
Given an int variable n that has been initialized to a positive value and, in addition, int variables k and total that have already been declared, use a do...while loop to compute the sum of the cubes of the first n whole numbers, and store this value in total . Thus if n equals 4, your code should put 1*1*1 + 2*2*2 + 3*3*3 + 4*4*4 into total . Use no variables other than n , k , and total .
I'm having trouble with coming up with the correct code. Do I need to put a loop? Please let me know if I'm on the right track and what areas I need to correct. I still don't have a good grasp on this programming stuff. Thanks =) The assignment was to write a program using string functions that accepts a coded value of an item and displays its equivalent tag price. The base of the keys: 0 1 2 3 4 5 6 7 8 9 X C O M P U T E R S Sample I/O Dialogue: Enter coded value: TR.XX Tag Price : 68.00
write the value of x and y after execution of the statements: int x=19,y; y=x++ + ++x; x++; y++;
what is the large sustained error signal that eventually cause the controller output to drive to its limit
what is syntax error?
Write down the difference between c. Loop and goto statement d. (!0) and (!1) e. (1= =! 1) and (1!=1) f. NULL and !NULL
what is meant by linking error? how can i solve it? if there is a linking error " unable to open file 'cos.obj'? then what should i do?
UINT i,j; i = j = 0; i = ( i++ > ++j ) ? i++ : i--; explain pls....
How to upgrade LOOP environment, I just mean, how can i make loop statement editable ? I just try some program using loop statement and checking it in multiple compilers. Every compiler showing different output, what's the wrong ? is it a compiler based problem, or loop based problem, tell me why ? and what will be the debugging process, for this kind of problem ?
Given that two int variables, total and amount, have been declared, write a loop that reads integers into amount and adds all the non-negative values into total. The loop terminates when a value less than 0 is read into amount. Don't forget to initialize total to 0. Instructor's notes: This problem requires either a while or a do-while loop.
What is the out put of this programme? int a,b,c,d; printf("Enter Number!\n"); scanf("%d",&a); while(a=!0) { printf("Enter numbers/n"); scanf("%d%d%d",&b,&c,&d); a=a*b*c*d; } printf("thanks!"); getche(); Entering numbers are a=1,b=2,c=3,d=4 b=3,c=4,d=-5 b=3,c=4,d=0
errors are known as?
3 Answers EX, State Bank Of India SBI,