An entire structure variable can be assigned to another
structure variable if __________
Answers were Sorted based on User's Feedback
Answer / ullas
if it is of same type... i.e struct stu s1,s1; s1=s2;
| Is This Answer Correct ? | 52 Yes | 3 No |
Answer / guest
you have overloaded the assignment operator and in that you
have copied each member variable.
| Is This Answer Correct ? | 25 Yes | 9 No |
Answer / pakash
#3 ithink this one is apropriate answer if no read books for the anser
| Is This Answer Correct ? | 5 Yes | 0 No |
what is the output of below pgm? void main() { int i=0; if(i) printf("pass"); else printf("fail"); }
what is the difference between c and java?
Rapunzel walks into the forest of forgetfullness. She meets a Lion who lies on Monday Tuesdays and Wednesdays and meets a rabbit who lies on Thurs fridays and saturdays . On that day both say that "I lied yesterday". What day is it .
What does a derived class inherit from a base class a) Only the Public members of the base class b) Only the Protected members of the base class c) Both the Public and the Protected members of the base class d) .c file
Write a function that accepts a sentence as a parameter, and returns the same with each of its words reversed. The returned sentence should have 1 blank space between each pair of words. Demonstrate the usage of this function from a main program. Example: Parameter: “jack and jill went up a hill” Return Value: “kcaj dna llij tnew pu a llih”
what is difference between ++(*p) and (*p)++
17 Answers Accenture, HCL, IBM,
write a program to display & create a rational number
what are threads ? why they are called light weight processes ? what is the relation between process and threads ?
Write a function in c to find the area of a triangle whose length of three sides is given.
Why is malloc used?
What is meant by realloc()?
How the c program is executed?