What are preprocessor directives?
what is difference between declaring the pointer as int and char in c language?
Explain why can’t constant values be used to define an array’s initial size?
Difference Between embedded software and soft ware?
What is a stream?
What is void main () in c?
Differentiate between static and dynamic modeling.
What is nested structure in c?
What is 2 d array in c?
#include<stdio.h> void main() { int a=5,b=6,c; int x=(a<b)+7; int y=(x==7)*9; int z=(c=x+y)*2; printf("%h %h %h",x,y,z); } What is the output? Explain it.
find the output? void r(int a[],int c, int n) { if(c>n) { a[c]=a[c]+c; r(a,++c,n); r(a,++c,n); } } int main() { int i,a[5]={0}; r(a,0,5); for(i=0;i<5;i++) printf("\n %d",a[i]); getch(); }
What is the purpose of clrscr () printf () and getch ()?
write a c prog for removing duplicate character from an array and sorting remaining elements using a single array