How do you convert a decimal number to its hexa-decimal equivalent.Give a C code to do the same
No Answer is Posted For this Question
Be the First to Post Answer
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?
How can I convert a number to a string?
write a c program thal will find all sequences of length N that produce the sum is Zero, print all possible solutions?
How can I do graphics in c?
a character variable can at a time store a) 1 character b) 8 characters c) 254 characters d) none of the above
What is function prototype in c with example?
#include main() { int *p, *c, i; i = 5; p = (int*) (malloc(sizeof(i))); printf(" %d",*p); *p = 10; printf(" %d %d",i,*p); c = (int*) calloc(2); printf(" %d ",*c); }
Can a function be forced to be inline? Also, give a comparison between inline function and the C macro?
in which language c language is written?
How can I call system when parameters (filenames, etc.) Of the executed command arent known until run time?
Take an MxN matrice from user and then sum upper diagonal in a variable and lower diagonal in a separate variables. Print the result
Write a c program to build a heap method using Pointer to function and pointer to structure ?
0 Answers MAHINDRA, Protech, Sivan Tech,