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
 
What is the code for following o/p * * * * * * * * * * * * * * * *   1
wap for bubble sort   3
what is the error in the following code: main() { int i=400,j; j=(i*i)/i; }   4
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.   3
Find the error (2.5*2=5) (a) X=y=z=0.5,2.0-5.75 (b) s=15;   3
WHAT WILL BE THE OUTPUT OF THE FOLLOWING QUESTION void main() { int x=4,y=3,z; z=x-- -y; printf("%d%d%d",x,y,z); } HCL 25
write a profram for selection sort whats the error in it?   2
what is the large sustained error signal that eventually cause the controller output to drive to its limit TCS 1
class test { int a; public: test(int b):a(b){} void show(){ cout<<a; } }; void main() { test t1; test t2(5); t1.show(); t2.show(); } }   1
To generate the series 1+3+5+7+... using C program   12
Write a program to accept two strings of Odd lengths. Then take all odd characters from one string and even characters from the other and concatenate and produce a string.   1
what is meant for variable not found?   3
 
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