Iam facing one problem.A Macro INIT_ON whose value is #define INIT_ON (*((unsigned char *)0x70060000) & 0x80) what is this value doing
I
Hi I am using Source Insight ,C/C++complier I have no idea about make files ,i have to compile one code ,but while compiling an error is...
mydum is unsigned long
PDEV *get_dfprt(register mydnum flx) { u_short ctr; DUPNUM *dptr = &GDFNUM[0]; for(ctr=0;ctr<DFNUM_EN;ctr++,dptr++) { if(dptr->num ==...
struct _finddata_t c_file; char hFile; char FilePath[]="D:/ut.txt"; hFile = _findfirst( FilePath, &c_file ); system (FilePath); In the...
its a book example ,thats why i asked why it is required to do so ,even i couldnt get that
#include<stdio.h> main() { int i=10; const int ci=123; const int *cpi; int *ncpi; cpi=&ci; printf("Main cpi %d\n",*cpi); ncpi=&i;...
To be honest NO ,could elaborate more
int i=10; const int ci=123; const int *cpi; int *ncpi; cpi=&ci; printf("Main cpi %d\n",*cpi); ncpi=&i; printf("Main ncpi...
main() { const int Men = 10; int *Women = &Men; *Women = 20; printf("There are %d men\n", Men); } I havent include...
hye can anyone give me the example of memset function
thanks i made some stupid mistakes
want to print the sum of M to N numbers ,using pointer .Where am i getting wrong { int m,n; int *p1,*p2,sum=0,*p; printf("Enter the m");...
Separate names with a comma.