what will happen if you free a pointer twice after
allocating memory dynamically ?
Answers were Sorted based on User's Feedback
What is an volatile variable?
Write a program that takes a 5 digit number and calculates 2 power that number and prints it.
what is the use of keyword volatile??
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”
Why static variable is used in c?
What is f'n in math?
How can I discover how many arguments a function was actually called with?
what is foreign key in c language?
when user give a number it multiply with 9 without useing '+' and '*' oprator
Study the code: void show() main() { show(); } void show (char *s) { printf("%sn",s); } What will happen if it is compiled & run on an ANSI C Compiler? A)It will compile & nothing will be printed when it is executed B)it will compile but not link C)the compiler will generate an error D)the compiler will generate a warning
What is the real difference between arrays and pointers?
27 Answers Hexaware, Logic Pro, TCS,
What are keywords c?