Is null always defined as 0(zero)?
No Answer is Posted For this Question
Be the First to Post Answer
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.?
Write a program, where i have a grid with many cells, how many paths are possible from one point to other desired points.
what type of errors are checked during compilation
what is the use of ‘auto’ keyword?
When should the const modifier be used?
Write a program to find the number of times that a given word(i.e. a short string) occurs in a sentence (i.e. a long string!). Read data from standard input. The first line is a single word, which is followed by general text on the second line. Read both up to a newline character, and insert a terminating null before processing. Typical output should be: The word is "the". The sentence is "the cat sat on the mat". The word occurs 2 times.
WAP TO ACCEPT STRING AND COUNT A COMES N TIMES B COMES N TIMES C COMES N TIMES D COMES N TIMES AND SO ON......... AT LAST UNTIL Z COMES N TIMES...............
Explain the difference between malloc() and calloc() in c?
What are the properties of union in c?
I want tcs placement papers of 2004-2009 , its urgent
which do you prefer C or Pascal?
which will return integer? a) int*s ( ) b) ( int* ) s( ) c) int ( *s ) ( )