with the program
Latest Answer: void main(){ char s[10]; int i; scanf("%s",s); for(i=0;s[i]!='';i++); printf("The length of the given string",--i); getch();}thank you!!!!!!!!!!!! ...
it is an array representation i think
Latest Answer: typedef struct means : it tells the allies name of structEX:typedef struct{int data,y;float s;}sa;sa s1,s2;struct: struct is a keyword for define a multlple type variable ...
Latest Answer: Function Declaration means telling the compiler what are the types of arguments that are passed toa function , what type of data type it will return. It is ended with a semicolon (;).Eg : int add(int , int);int add(int a, int b);Definition of a function ...
Latest Answer: void printBinary(int n){if (n>0){printBinary(n/2);printf("%c","01"[n%2]);}else{printf("n");}}int main(){int num;printf("Enter the number in decimal");scanf("%d",&num);printf("The binary equivalent ...
When dynamic allocation of memory is done by using malloc then how is the memory allocated in sequential or in some other format ?
main{int x=90;float *ptr;ptr=(float *)&x;*ptr=50.0;printf("%d",x);printf("%f",*pf);}Though the address of i & pf are same but the value which i get when i print x is a different integer
Latest Answer: It is always helpful to write valid code. Your example would not compile and the output would not be readable.1: int x = 90;2: float* ptr;3: ptr = (float*)&x;4: *ptr = 50.0f; ...
How a variable value is stored and retrieved at runtime in C?for example main(){ int a; a=5; }Where is the value of 'a' stored and How it is retrieved at runtime?
Latest Answer: For handling multithreading in c programming the two common libraries that is mainly used are LIBCMT.LIB and MSVCRT.LIB. The compiler must be ensured about the usage of these libraries while implementing multithreading in c programming. ...
View page << Previous 2 3 4 5 [6] 7 8 9 10 Next >>

Go Top