adi t's Profile

About

 
Points: 42

Contact

 

Drop files in here
or click to pick manually
adi t
April 16, 2016 · Public

this program should print 456 45 6 but why in output I am getting 4 45 456


adi t
March 10, 2016 · Public

In my code output pattern is coming only in vertical direction and not horizontally why?


adi t
December 20, 2015 · Public

#include
int main(){
char *ch='ABC';
printf("%c",ch);

return 0;
}


In above program why does it prints C and why not A

adi t
December 19, 2015 · Public

#include
void main(){
float a=0.7;
if(a==0.7)
printf("Hi");
else
printf("Hello");
}


In above program how Hello gets printed it should print Hi

adi t
November 6, 2015 · Public

#include
#include

int main()
{
int i=4;
int ans;
ans= ++i + ++i;
printf("%d",ans);


return 0;
}

How come output is 12??