Write a simple program to find the size of different basic
data types in C.
Answer Posted / rajiv
int x,y,b;
char a;
x=sizeof(y);
b=sizeof(a);
printf("the size of int is %d & the size of char is
%d",x,b);
| Is This Answer Correct ? | 20 Yes | 4 No |
Post New Answer View All Answers
Write the Program to reverse a string using pointers.
What is the size of array float a(10)?
what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;
general for is %wd,f-d; in this system "w" means a) 'w' represent total width of digits b) 'w' represent width which includes the digits before,after decimal place and the decimal point c) 'w' represent width which includes the digits before only d) 'w' represent width after decimal place only
What is difference between Structure and Unions?
What is double pointer in c?
Input is "rama loves rajesh and rajesh Loves rama also and rajesh wear gloves and bloves" To print output is count the numbers of times repeted the word love without case sensitive.
What is difference between && and & in c?
What oops means?
Do you know the use of fflush() function?
Why do we use int main instead of void main in c?
What are header files in c?
What is logical error?
HOW TO SOLVE A NUMERICAL OF LRU IN OS ??????
what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;