What are the different types of pointers used in c language?
praagnovation
what will be the output of this program? #include<stdio.h> #define cube(x) x*x*x void main() { int i,j=5; i=cube(j+3); printf("i=%d",i); }
C passes By value or By reference?
5 Answers Geometric Software, Infosys,
write a c/c++ programthat connects to a MYSQL server and checks if the INNoDB plug in is installed on it.If so your program should print the total number of disk writes by MYSQL.
What is difference between union and structure in c?
main() { int i; for(i=0;i<5;i++) printf("%d",1l<<i); } why doesn't 'l' affect the code??????
write a program to gat the digt sum of a number (et. 15= >1+5=6)
#include<stdio.h> #include<conio.h> void main() {clrscr(); char another='y'; int num; for(;another=='y';) { printf("Enter a number"); scanf("%d",&num); printf("squre of %d is %d",num,num*num); printf("\nwant to enter another number y/n"); scanf("%c",&another); } getch(); } the above code runs only one time.on entering 'y' the screen disappeares.what can i do?
differentiate built-in functions and user – defined functions.
What is the difference between constant pointer and pointer to a constant. Give examples.
What is difference between structure and union in c programming?
print out of string in this format; 1. "rajesh" 2. \n 3. %d