How can a character and a string with only one character can be differentiated? What is the internal difference between a character and string, with only one character in it?
What is base address? How is it associated differentiantly for one dimentional and 2 dimentional array?
Latest Answer: main(){int a[10][10],b[10][10],c[10][10]:int i,j,k;printf("enter the elements in A matrix");for(i=0;i
Latest Answer: End of Line refers to the 'n'( new line character). It will perform operations till it come across 'n'. EOF refers to End of File. It is the last character in the file.(if it is not empty). If the file is empty then only EOF will be present.Some ...
Latest Answer: Take 2 pointer. increment 1 pointer once and another pointer twice. keep incrementing unless pointer2 is NULL or when pointer 1 and pointer 2 are equal. When both pointer equal there is a Loop existing. ...
Latest Answer: There is no difference between symentics these declaration only syntax is different. ...
How to execute shell command without using system command in C-langauage? wirte a program execute ls -l and redirect the output to a file, without using system command ?
how can we multiply this A*B without using "*" operator?
Latest Answer: void main(){ int n1=3,n2=4; int i,mul=0; for(i=1;i
Latest Answer: Hi Siva, This would be the correct, #include#define mySizeof(x)(mySizeof1(x))#define mySizeof1(x){__typeof__(x) tmp ;(char*)(&tmp + 1) - (char*)(&tmp);}main(){int a;printf("size ...
Write a C program using arrays to count the numbers of positive and negative numbers which accepts the inputs as "size of the array" & "elements of the array" and outputs as "number
Latest Answer: #include main(){ int a[] = { 1,-3,-5,-4,-9,2,8}; int len,i,val; int npos=0, nneg=0; len = sizeof(a)/sizeof(a[0]); printf("%dn",len); for( i=0; i< len; ...
View page << Previous 3 4 5 6 [7] 8 9 10 11 12 Next >>

Go Top