When you call malloc() to allocate memory for a local
pointer, do you have to explicitly free() it?
Answers were Sorted based on User's Feedback
write c program to display output 10(10+20)+(10+20+30)+ ... n term
0 Answers Hindustan Gum Chemicals,
Explain the Difference between the New and Malloc keyword.
A MobileNumber is a VIP number if it satisfy the following conditions. The operator should be Vodafone. Atleast one 0 (Zero) should be exist in mobile number. The number should not end with 8. The single digit sum of all the digits in the number should be equal to 9. For example if the number is 9876543210, the sum is 9+8+7+...+1+0 = 45. Sum of 4+5 = 9. Write a method: private boolean isVIPMobileNumber(String mobileNum, String operator) mobileNum phone number operator mobile operator as bsnl, Vodafone
What is volatile keyword in c?
What are the different flags in C? And how they are useful? And give example for each in different consequences?
What is function prototype?
what is default constructor?
Program to find the sum of digits of a given number until the sum becomes a single digit. (e.g. 12345=>1+2+3+4+5=15=>1+5=6)
What is function pointer and where we will use it
What is output of the following program ? main() { i = 1; printf("%d %d %d\n",i,i++,i++); }
void main(int n) { if(n==0) return; main(--n); printf("%d ",n); getch(); } how it work and what will be its output...............it any one know ans plz reply
Write a c program using for loop in switch case?