Void main()
{
If(printf("C") && getch ())
}
Then output is C.
If I wrote clrscr() in the place of getch() then it gives error message why..
Answer / shresth tyagi
in if statement if you are using && then it will give you output when both the conditions are true , if one of the conditions are not true than the compiler will give you an error and the correct program is ;
void main()
{ clrscr(); // it is used to clear anything on the command prompt
int i=1;
if(i==1)
printf("C");
getch(); // it is used to get character or string to print
}
| Is This Answer Correct ? | 0 Yes | 0 No |
What is Latch on?
cdma or gsm which is more complex?
Explain the approximate cost of the corrosion penetration monitoring system(cpmp)?
i am kvsivanarayanareddy . i work in mnc company in engineering job. i completed B.Tech in electronics &communication , i want to prepare group 2 exams in ap. pls give me suggetion for preparing group, how iwill start preparation pls send to my mail .which topocis i will concertrate . how i will reach my goal pls suggest to my question.
What are fet`s?
what is meant by tunneling?
What is a comparator?
what is maskable or non maskable interrupts
plz tell me the syllabus for airport authority of india recruitment for the post of Jr. electronics engineer.let me know whether written test will be a aptitude test or technical??
what is bts
What are the advantages of active filters?
Photodiode is a photovoltaic device or a photoconductive device or both?
Civil Engineering (5086)
Mechanical Engineering (4456)
Electrical Engineering (16639)
Electronics Communications (3918)
Chemical Engineering (1095)
Aeronautical Engineering (239)
Bio Engineering (96)
Metallurgy (361)
Industrial Engineering (259)
Instrumentation (3014)
Automobile Engineering (332)
Mechatronics Engineering (97)
Marine Engineering (124)
Power Plant Engineering (172)
Textile Engineering (575)
Production Engineering (25)
Satellite Systems Engineering (106)
Engineering AllOther (1379)