pick out the odd one out of the following
a.malloc()
b.calloc()
c.free()
d.realloc()
Answers were Sorted based on User's Feedback
Answer / manishsoni
here malloc(),calloc(),realloc)() are the memory allocation
function after allocation of memory free is used to freed
the memory which is allocated by the above function.
so the free is odd term.
| Is This Answer Correct ? | 13 Yes | 3 No |
write a program to print the consecutive repeated character from the given string... input string is : hhhhjkutskkkkkggggj output should be like this: hhhhkkkkkgggg anyone help me...
What is %d used for?
What is the purpose of sprintf?
What is meant by preprocessor in c?
In the following code segment what will be the result of the function, value of x , value of y { unsigned int x=-1; int y; y = ~0; if(x == y) printf("same"); else printf("not same"); } a) same, MAXINT, -1 b) not same, MAXINT, -MAXINT c) same , MAXUNIT, -1 d) same, MAXUNIT, MAXUNIT e) not same, MAXINT, MAXUNIT
how to swap four numbers without using fifth variable?
Is reference used in C?
i have to apply for the rbi for the post of officers. i need to know abt the entrance questions whether it may be aps or techinical....
12344321 123 321 12 21 1 1 how i print this program??
5 Answers DSR Management, Winit,
Write a program in C for showing working of different logical operator in C. Your program should guide users with proper message/menu on the console.
write a function that accepts an array A with n elements and array B with n-1 elements. Find the missing one in array B,with an optimized manner?
Program will then find the largest of three numbers using nested if-else statements. User is prompted to enter three numbers. Program will find the largest number and display it on the screen. All three numbers entered by the user are also displayed. If user enters 21, 33, and 5, the output should be as follows: You entered: 21, 33 and 5. The largest number is 33.