c language interview questions & answer
No Answer is Posted For this Question
Be the First to Post Answer
the maximum length of a character constant can be a) 1 character b) 8 characters c) 256 chaacters d) 125 characters
How to declare pointer variables?
How can I implement opaque (abstract) data types in C? What's the difference between these two declarations? struct x1 { ... }; typedef struct { ... } x2;
Do you know what are the properties of union in c?
write a program for egyptian fractions in c?
Find Index of least significant bit set in an Integer. ex. int value is say 10001000 results should be 4.
what is answer for perfect number????????????????
void main() {int a[5],i,b=16; for(i=0;i<5;i++) a[i]=2*i; f(a,5,b); for(i=0;i<5;i++) printf("\n %d",a[i]); printf("\n %d",b); } f(int *x,int n,int y) { int i; for(i=0;i<n;i++) *(x+i)+=2; y=y+2; }wat r the errors in the prg.and improvise the prg to get o/p.?
What are volatile variables?
Write a program to swap two numbers without using a temporary variable?
Why void main is used in c?
what is the most appropriate way to write a multi-statement macro?