When I set a float variable to, say, 3.1, why is printf printing it as 3.0999999?
No Answer is Posted For this Question
Be the First to Post Answer
Explain pointers in c programming?
What is ambagious result in C? explain with an example.
When is an interface "good"?
Explain what is the difference between functions abs() and fabs()?
Place the #include statement must be written in the program?
How can I pad a string to a known length?
24.what is a void pointer? 25.why arithmetic operation can’t be performed on a void pointer? 26.differentiate between const char *a; char *const a; and char const *a; 27.compare array with pointer? 28.what is a NULL pointer? 29.what does ‘segmentation violation’ mean? 30.what does ‘Bus Error’ mean? 31.Define function pointers? 32.How do you initialize function pointers? Give an example? 33.where can function pointers be used?
diff .between strcture and union
Write a program to swap two numbers without using third variable in c?
why do we use pointer instead directly acessing the data?
1)what is the error in the following stmt where str is a char array and the stmt is supposed to traverse through the whole character string str? for(i=0;str[i];i++) a)There is no error. b)There shud be no ; after the stmt. c)The cond shud be str[i]!='\0' d)The cond shud be str[i]!=NULL e)i shud be initialized to 1
What does sizeof int return?