What is the difference between far and near in c?
No Answer is Posted For this Question
Be the First to Post Answer
Write a program which calculate sum of several number and input it into an array. Then, the sum of all the number in the array is calculated.
Explain the difference between malloc() and calloc() function?
How many parameters should a function have?
I have one doubt. What does below statement mean? #define sizeof(operator) where operator can be int or float etc. Does this statement meaningful and where it can be used?
How do I initialize a pointer to a function?
Write a C program in Fibonacci series.
#include<stdio.h> #include<conio.h> # define swap(a,b) temp=a; a=b; b=temp; void main( ) { int i, j, temp; i=5; j=10; temp=0; if( i > j) swap( i, j ); printf( "%d %d %d", i, j, temp); }
How arrays can be passed to a user defined function
typedef struct { int i:8; char c:9; float f:20; }st_temp; int getdata(st_temp *stptr) { stptr->i = 99; return stptr->i; } main() { st_temp local; int i; local.c = 'v'; local.i = 9; local.f = 23.65; printf(" %d %c %f",local.i,local.c,local.f); i = getdata(&local); printf("\n %d",i); getch(); } why there there is an error during compiling the above program?
hOW Can I add character in to pointer array of characters char *a="indian"; ie I want to add google after indian in the char *a
Reverse a string word by word??
Is the following code legal? struct a { int x; struct a b; }