why we add # into the formate specifier ……………….why compiler printing the same value 100 after using the same format specifier %d in all case………..
I have implemented :-
i m facing problem in this program from starting…………how the negiate operator work…………also in left & right shift operator…………
on my lappi i have linux as well as windows 7 installed..weneva i am try to get into linux it is not working properly….it is going till the desktop but it shows nothing on the desktop..so cn anyone help me with that……:(
i m facing problem in line 8th & 9th.line 9th shows an error l value required an increment operend……….
i m facing problem to create the master array .it shows segmentation fault ………plz help me………
Q:15 Statement given: b=2.0e20+1.0;
a=b-2.0e20;
what is ’2.0e20′,?anybody executed it explain the result of ‘a’..
Q:-int main()
{ int x=2,y,z;
x*=y=z=4;
printf(“%d”,x);
x=y==z;
printf(“%d”,x);
x==(y=z)
printf(“%d”,x)
here what is the value of x in last printf statement?
Created master array and solved 18 question of assignment1.
int main()
{
int value=100;
printf(“value in decimal is:%d\n”,value);
printf(“value in hexa is:%x\n”,value);
printf(“value in octal is:%o\n”,value);
return 0;
}
in this program i m getting the following error
undefined reference to print
ld returned 1 exit status
how can i remove dis error?