Explain the red-black trees?
No Answer is Posted For this Question
Be the First to Post Answer
#include<stdio.h> void main() { char *str; long unsigned int add; str="Hello C"; add=&str[0]; printf("%c",add); } What is the output?
What is the correct declaration of main?
Explain the use of 'auto' keyword
How we can write a value to an address using macro..?
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
main() { int i=5; printf("%d%d%d%d",i++,i--,i); }
12344321 123 321 12 21 1 1 how i print this program??
5 Answers DSR Management, Winit,
What's a good way to check for "close enough" floating-point equality?
what is the output of the following program? #include<stdio.h> void main() { float x=1.1; while(x==1.1) { printf("\n%f",x); x=x-0.1; } }
input any 4 digit number and find the difference of all the digits?
Why is c so important?
In which category does main function belong??