Explain how can I right-justify a string?
No Answer is Posted For this Question
Be the First to Post Answer
Go through this linked list concept.While traversing through the singly linked list sometimes the following code snippet "while(head != NULL)" is used and other times "while(head->link != NULL)"is used(Here head is the pointer pointing to the first node,node has two parts data part and link part).What is the difference between head != NULL and Head->link != NULL and in which situation are they used?
Write a program to implement queue.
why r u join this company? give solid resons.
16 Answers IBM, Infosys, TCS,
main() { char *p1="Name"; char *p2; p2=(char *)malloc(20); while(*p2++=*p1++); printf("%s\n",p2); } what is the output?
7 Answers AMCAT, HCL, Ramco, Zycus Infotech,
Can the curly brackets { } be used to enclose a single line of code?
write a c prog for removing duplicate character from an array and sorting remaining elements using a single array
Explain command-line arguments in C.
What's the best way of making my program efficient?
Why is extern used in c?
When should you use a type cast?
Explain what’s a signal? Explain what do I use signals for?
what would be the output of the follwing struct st { char name[20]; int i; float f; }; main() { struct st emp = {"forum"}; printf("%d %f",emp.i,emp.f); }