ALLInterview.com :: Home Page            
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Google
   
 
Categories >> ERRORS >> C C++ Errors
 
 


 

 
 C C++ Errors interview questions  C C++ Errors Interview Questions (62)
 DotNet Errors interview questions  DotNet Errors Interview Questions (14)
 Database Errors interview questions  Database Errors Interview Questions (16425)
 Scripts Errors interview questions  Scripts Errors Interview Questions (55)
Question
#include<>stdio.h>
#include<>conio.h>
{
printf("hello");
void main()
getch();
}  what the out put of this program and why ......plz clear 
my answer
 Question Submitted By :: C-C++-Errors
I also faced this Question!!     Answer Posted By  
 
Answer
# 1
answer is =" Unable to open the header files and must be
open brash come after main program "
 
Is This Answer Correct ?    17 Yes 4 No
Sambath
 
Answer
# 2
#include<stdio.h>
#include<conio.h>

voidn main
{
clrscr();
printf("Try this one");
getch();
}
 
Is This Answer Correct ?    8 Yes 3 No
Meg&039;s
 
 
 
Answer
# 3
#include<stdio.h>
#include<conio.h>
void main()
{
printf("any message to display on console");
getch();
}
 
Is This Answer Correct ?    4 Yes 0 No
Naina
 
Answer
# 4
DECLARATION TERMINATED INCORRECTLY 
Is This Answer Correct ?    4 Yes 0 No
Biren
 
Answer
# 5
#include<stdio.h>
#include<conio.h>
void main()
{
clrscr();
printf("Hello!");
getch();
}
 
Is This Answer Correct ?    1 Yes 0 No
Lalithpriya
 
Answer
# 6
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 6 No
Dhatchina Moorthy
 
Answer
# 7
answer is =" Unable to open the header files and must be
open brash come after main program "
 
Is This Answer Correct ?    0 Yes 4 No
Geetha.s.b
 
Answer
# 8
#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 9 No
Shreyas
 
Answer
# 9
#include<>stdio.h>
#include<>conio.h>
void main()
{
printf("hello");
scanf("%d",&hello);
getch();
}
 
Is This Answer Correct ?    0 Yes 5 No
Parvathy Mohan
 

 
 
 
Other C C++ Errors Interview Questions
 
  Question Asked @ Answers
 
void main() { for(int i=0;i<5;i++); printf("%d",i); } What is the output?.. HCL 28
loop1: { x=i<n?(i++):0; printf("%d",i); exit(x); continue; } Error- misplaced continue. Doubt-1.will the exit(x) be executed for all values of x 2.will this statement go out of the program. CMC 5
UINT i,j; i = j = 0; i = ( i++ > ++j ) ? i++ : i--; explain pls....   5
How to reverse a linked list without using array & -1? Thank you. Access 2
To generate the series 1+3+5+7+... using C program   12
char* f() return "hello:"; void main() {char *str=f(); }   1
who was the present cheif governor of reserve bank of india State-Bank-Of-India-SBI 6
wap for bubble sort   3
Given an int variable n that has already been declared and initialized to a positive value, and another int variable j that has already been declared, use a do...while loop to print a single line consisting of n asterisks. Thus if n contains 5, five asterisks will be printed. Use no variables other than n and j .   2
how to convert decimal to binary in c using while loop without using array Apple 48
void main() { int i=7; printf("N= %*d",i,i); } HCL 5
What are the different types of errors in C and when they occur?   4
 
For more C C++ Errors Interview Questions Click Here 
 
 
 
 
 


   
Copyright Policy  |  Terms of Service  |  Articles  |  Site Map  |  RSS Site Map  |  Contact Us
   
Copyright 2013  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  KalAajKal.com