Find the O/p of the following
1)
#include
int main()
{
char c='1';
int j=atoi(c);
}

Answers were Sorted based on User's Feedback



Find the O/p of the following 1) #include int main() { char c='1'; int j=ato..

Answer / vinay

It will execute

Is This Answer Correct ?    18 Yes 5 No

Find the O/p of the following 1) #include int main() { char c='1'; int j=ato..

Answer / arka sen

it will give the ASCII Value of char C.

Is This Answer Correct ?    10 Yes 6 No

Find the O/p of the following 1) #include int main() { char c='1'; int j=ato..

Answer / ram

segmentation fault

Is This Answer Correct ?    3 Yes 0 No

Find the O/p of the following 1) #include int main() { char c='1'; int j=ato..

Answer / g

49

Is This Answer Correct ?    9 Yes 8 No

Post New Answer

More C Interview Questions

Can u please send me the exam pattern and also Previous papers to javed123go@gmail.com

0 Answers  


we compile c program in 32 processor and 64 bit processor .exe file is created in both the processors. if we want to run .exe file in 64 bit processor which is created in 32 bit processor. is that .exe file is run or not if it is not run why?

4 Answers   HP, Wipro,


Calculate 1*2*3*____*n using recursive function??

0 Answers  


Convert the following expression to postfix and prefix (A+B) * (D-C)

3 Answers   Satyam,


How can I write a function that takes a format string and a variable number of arguments?

0 Answers  






1 232 34543 4567654 can anyone tell me how to slove this c question

6 Answers  


#include main() { int i=1,j=2; switch(i) { case 1: printf("GOOD"); break; case j: printf("BAD"); break; } }

6 Answers   ME,


Q. where is the below variables stored ? - volatile, static, register

3 Answers   Bosch,


WHAT IS MAXIMUM SIZE OF AN ARRAY IN C LANGUAGE?

8 Answers   Carphone Warehouse, IBM, SAS,


#include<stdio.h> main() { int a[3]; int *I; a[0]=100;a[1]=200;a[2]=300; I=a; Printf(“%d\n”, ++*I); Printf(“%d\n”, *++I); Printf(“%d\n”, (*I)--); Printf(“%d\n”, *I); } what is the o/p a. 101,200,200,199 b. 200,201,201,100 c. 101,200,199,199 d. 200,300,200,100

1 Answers  


what is purpose of fflush(stdin) function

4 Answers  


Hai what is the different types of versions and their differences

0 Answers  


Categories