2.main
{
int x,j,k;
j=k=6;x=2;
x=j*k;
printf("%d", x);
Answers were Sorted based on User's Feedback
Answer / pallavi
pgm is wrong coz, main ws supposed to hav () and } is
missing at the end
| Is This Answer Correct ? | 8 Yes | 4 No |
Answer / snurfy
x=1;..khud se pata laga lo..par answer to yahi rahega...aur ye us wale logic se hoga...jo sir ne us samay padhaya tha...tab tum sab so rahe the,,...ab aur neend lo class m...tab bola tha uth jaao...tab to samjh aaya nhi...ab kya khak aayega....ab to khelo rummy...!!..ab to ek hi tarika h ans pata karne ka...snurf language padho..aur suno...ise majak mat samjhna..bhavishy ka sawal h...:P:P
| Is This Answer Correct ? | 8 Yes | 5 No |
What is bubble sort technique in c?
Why is struct padding needed?
Explain the differences between public, protected, private and internal.
How to find the digits truncation when assigning the interger variable to the character variables. like int i=500; char x = i : here we have truncation. how to find this. another ex: i =100; char x=i. here we do not have truncation.
What are the functions to open and close the file in c language?
How can I call a function with an argument list built up at run time?
What are the three constants used in c?
is compiler do read the data line by line or not. ??
6 Answers LG Soft, Satyam, Tech Mahindra,
how many error occurs in C language ?
What is the purpose of void pointer?
main() { struct s1 { char *str; struct s1 *ptr; }; static struct s1 arr[] = { {"Hyderabad",arr+1}, {"Bangalore",arr+2}, {"Delhi",arr} }; struct s1 *p[3]; int i; < BR> for(i=0;i<=2;i++) p[i] = arr[i].ptr; printf("%s ",(*p)->str); printf("%s ",(++*p)->str); printf("%s ",((*p)++)->str); }
What is the significance of an algorithm to C programming?