what is the maximum no. of bytes calloc can allocate
Answers were Sorted based on User's Feedback
Answer / divyanka mishra
depends on the size of RAM. it can allocate memory as per
as RAm's size.
| Is This Answer Correct ? | 16 Yes | 1 No |
Answer / maruthi prapulla kumar(bb09105
n Bytes Depending up on the size of the RAM If RAM size is
less it is less Ram size is high Its High
| Is This Answer Correct ? | 1 Yes | 2 No |
void main() { int s[4][2]={ {1234,56},{1212,33},{1434,80},{1312,78} }; int (*p)[2]; int i,j,*pint; for(i=0;i<=3;i++) { p=&s[i]; pint=p; printf("\n"); for(j=0;j<=1;j++) printf("%d",*(pint+j)); } } while running this program it shows a warning-suspicious pointer conversion ie pint=p; my que is why should we assign the value of p to pint again.why cant we use it directly as *(p+j)..but if i use like tat the o/p is garbage value..
What is the difference between constant pointer and pointer to a constant. Give examples.
hai iam working in sap sd module for one year and working in lumax ind ltd in desp department but my problem is i have done m.b.a in hr/marketing and working sap sd there is any combination it. can you give right solution of my problem. and what can i do?
Where define directive used?
Describe for loop and write a c program to sum the series X + x2/2! + x3 /3! + …….. up to fifteen terms.
1. Write a function to display the sum of two numbers in the following ways: By using (i) pass by value (ii) pass by address a. function with argument and with return value b. function with argument and without return value c. without argument , with return value d. without argument , without return value Note: Use pass by address.
write a C program, given number is double without using addt ion and multiplication operator?ex:n=6,ans=12,pls send me ans to goviseenu@gmail.com
a=0; b=(a=0)?2:3; a) What will be the value of b? why b) If in 1st stmt a=0 is replaced by -1, b=? c) If in second stmt a=0 is replaced by -1, b=?
What are operators in c?
How can I display a percentage-done indication that updates itself in place, or show one of those twirling baton progress indicators?
Write a program to find the smallest and largest element in a given array in c language
How are structure passing and returning implemented?