what does exit() do?
Answers were Sorted based on User's Feedback
Answer / shruti
nopes,
it does not come out of the executing prog normally..
for that, we have to explicitly mention as
exit(0);
Is This Answer Correct ? | 7 Yes | 0 No |
WHAT IS MEANT BY LIFE?
Write a program to input the price of 1 burger and the number of burgers eaten by a group of friends .print the total amount to be paid by the group?
Tell me can the size of an array be declared at runtime?
without a terminator how can we print a message in a printf () function.
How can you read a directory in a C program?
#include main() { int *p, *c, i; i = 5; p = (int*) (malloc(sizeof(i))); printf(" %d",*p); *p = 10; printf(" %d %d",i,*p); c = (int*) calloc(2); printf(" %d ",*c); }
find second largest element in array w/o using sorting techniques? use onle one for loop.
15 Answers BitWise, Zycus Infotech,
What are lookup tables in c?
15.what is the disadvantage of using macros? 16.what is the self-referential structure? 17.can a union be self-referenced? 18.What is a pointer? 19.What is the Lvalue and Rvalue? 20.what is the difference between these initializations? 21.Char a[]=”string”; 22.Char *p=”literal”; 23.Does *p++ increment p, or what it points to?
A character flag or control mechanism that delineates one data item from another a) variable b) constant c) delimiter d) call by reference
2. Write a function called hms_to_secs() that takes three int values—for hours, minutes, and seconds—as arguments, and returns the equivalent time in seconds.. Create a program that exercises this function by repeatedly obtaining a time value in hours, minutes, and seconds from the user (format 12:59:59), calling the function, and displaying the value of seconds it returns.
how to sort two array of characters and make a new array of characters.