Explain what is the difference between null and nul?
No Answer is Posted For this Question
Be the First to Post Answer
Why is void main used?
whats the use of header file in c?
sqrt(x+sqrt(x+sqrt(x+sqrt(x))))=2; Find the value of x?
What is difference between far and near pointers?
Are pointers integer?
how to make a scientific calculater ?
Describe for loop and write a c program to sum the series X + x2/2! + x3 /3! + …….. up to fifteen terms.
Write an implementation of “float stringToFloat(char *str).” The code should be simple, and not require more than the basic operators (if, for, math operators, etc.). • Assumptions • Don’t worry about overflow or underflow • Stop at the 1st invalid character and return the number you have converted till then, if the 1st character is invalid return 0 • Don’t worry about exponential (e.g. 1e10), instead you should treat ‘e’ as an invalid character • Write it like real code, e.g. do error checking • Go though the string only once • Examples • “1.23” should return 1.23 • “1a” should return 1 • “a”should return 0
What is #pragma directive?how it is used in the program? what is its advantages and disadvantages?
What is the difference between single charater constant and string constant?
What are the uses of pre-processor directives?
main() {int i=5; // line 1 i=(++i)/(i++); // line 2 printf("%d",i); // line 3 } output is 2 but if we replace line 2 and line 3 by printf("%d",i=(++i)/(i++)); then output is 1. Why?