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 a program to implement a round robin scheduler and calculate the average waiting time.Arrival time, burst time, time quantum, and no. of processes should be the inputs.
What are compound statements?
What is a null string in c?
What is sizeof return in c?
Why is c called a mid-level programming language?
What does typeof return in c?
What is hash table in c?
Why do we use null pointer?
A variable that is defined in a specified portion of a program but can be used throughout the program a) global variable b) local variable c) character d) none
What is the acronym for ansi?
what is diffrence between linear and binary search in array respect to operators?what kind of operator can be used in both seach methods?
Do string constants represent numerical values?
How can type-insensitive macros be created?
What is structure of c program?
Explain how can you determine the size of an allocated portion of memory?