What is difference between %d and %i in c?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

5 Write an Algorithm to find the maximum and minimum items in a set of ‘n’ element.

0 Answers  


What oops means?

0 Answers  


State two uses of pointers in C?

0 Answers   Aspire, Infogain,


What is a program?

0 Answers  


write a c program to accept a given integer value and print its value in words

4 Answers   Vernalis, Vernalis Systems,






CAN WE DEFINE ANY FUNCTION WITHIN A FUNCTION.

15 Answers  


Reverse the part of the number which is present from position i to j. Print the new number. eg: num=789876 i=2 j=5 778986

1 Answers  


#include<stdio.h> main() {int i=1;j=1; for(;;) {if(i>5) break; else j+=1; printf("\n%d",j) i+=j; } }

7 Answers   HCL,


Write a c program to build a heap method using Pointer to function and pointer to structure ?

0 Answers   MAHINDRA, Protech, Sivan Tech,


#define MAX 3 main() { printf("MAX = %d ",MAX ); #undef MAX #ifdef MAX printf("Vector Institute”); #endif }

1 Answers   Vector India,


Explain which of the following operators is incorrect and why? ( >=, <=, <>, ==)

0 Answers  


Program to find the value of e raised to power x using while loop

5 Answers   IBM, N Tech,


Categories