char *ptr;
sizeof(*ptr) will return you 1 (size of char varaible whose address it can hold).
char *ptr[10];
sizeof(*ptr) will return you 4 why???
Please clear my doubt regarding pointer
User Profile
Collapse
-
how is size of pointer calculated?
-
Connect script failed
I had made an application which i used the ppp to send data on the portal via gprs .
After using this application continusly this starts evolving the the connect script failed error and i dont know the reson of this connect script failed and after restrart machine then it starts working again and after 2 ,3 transaction it starts giving same error so help me and tell me the conditions where this connect script failed error comes.... -
connect script failed
I had made an application which i used the Dailout command to send data on the portal via gprs .
After using this application continusly this starts evolving the the connect script failed error and i dont know the reson of this connect script failed and after restrart machine then it starts working again and after 2 ,3 transaction it starts giving same error so help me and tell me the conditions where this connect script failed... -
unwanted value in file reading
if i read a file whenever i read it line by line while reading i try to check it with some string by the strcmp command .This is like thats
the string to be read from file is "rohan sharma".
while(fgets(buf rftext,1200,fp)
{ printf("the read string is :%s"bufftext") ;
i=strcmp(buffte xt,"rohan sharma")
printf("the value of i :%d",i);
}
- the expected
-
please write down your code here and do look the way u r opening the database in c language .
i believe that you must be trying to open the already opened database that is why u r facing such problem
No activity results to display
Show More
Leave a comment: