What is const volatile variable in c?
An application package has been provided to you without any documents for the following application. The application needs to be tested. How will you proceed?
in case any function return float value we must declare a) the function must be declared as 'float' in main() as well b) the function automatically returned float values c) function before declared 'float' keyword d) all the above
Which is better between malloc and calloc?
Write a program which returns the first non repetitive character in the string?
Explain how can I prevent another program from modifying part of a file that I am modifying?
Tell us the use of fflush() function in c language?
write a pgm to print 1 1 2 1 1 2 3 2 1 1 2 3 4 3 2 1
What are the advantages and disadvantages of pointers?
Write a program that takes a 5 digit number and calculates 2 power that number and prints it(should not use big integers and exponential functions)
2 Answers HCL, IBM, Satyam, Vimal, Vimukti Technologies,
what is the purpose of the following code, and is there any problem with the code? void fn(long* p1, long* p2) { register int x = *p1; register int y = *p2; x ^= y; y ^= x; x ^= y; *p1 = x; *p2 = y; }
Write a programe print the sum of series 0,1,2,.....10
write a function for strtok()??