Programming Code (840)
Scripts_Markup Code (257) void main() { printf(“sizeof (void *) = %d \n“, sizeof( void *)); printf(“sizeof (int *) = %d \n”, sizeof(int *)); printf(“sizeof (double *) = %d \n”, sizeof(double *)); printf(“sizeof(struct unknown *) = %d \n”, sizeof(struct unknown *)); }
1 8781char inputString[100] = {0}; To get string input from the keyboard which one of the following is better? 1) gets(inputString) 2) fgets(inputString, sizeof(inputString), fp)
1 5272Which version do you prefer of the following two, 1) printf(“%s”,str); // or the more curt one 2) printf(str);
1 5758main() { extern int i; { int i=20; { const volatile unsigned i=30; printf("%d",i); } printf("%d",i); } printf("%d",i); } int i;
1 8639char *someFun() { char *temp = “string constant"; return temp; } int main() { puts(someFun()); }
1 7688char *someFun1() { char temp[ ] = “string"; return temp; } char *someFun2() { char temp[ ] = {‘s’, ‘t’,’r’,’i’,’n’,’g’}; return temp; } int main() { puts(someFun1()); puts(someFun2()); }
2 10212what mean void creat_object?in public class in this code class A{ public: int x; A(){ cout << endl<< "Constructor A";} ~A(){ cout << endl<< "Destructor A, x is\t"<< x;} }; void create_object(); void main() { A a; a.x=10; { A c; c.x=20; } create_object(); } void create_object() { A b; b.x=30; }
2540
How to swap two ASCII numbers?
Hi All, Do anyone have a solution/script for Uploading the Excel file in Local drive to QC Resources folder..?? TIA Dwaraka.
How to check if Folder is a Special Shell Folder ?
write a program for area of circumference of shapes
Write code to add functions, which would work as get and put properties of a class?
Write a python program to check if a number is a perfect number?
write a function to give demostrate the functionality of 3d in 1d. function prototye: change(int value,int indexX,int indexY,int indexZ, int [] 1dArray); value=what is the date; indexX=x-asix indexY=y-axis indexZ=z-axis and 1dArray=in which and where the value is stored??
Write a Program to find the sum of digits of a given number until the sum becomes a single digit. (e.g. 12345=>1+2+3+4+5=15=>1+5=6)
What is the functionality of EnumChildWindows?
Write a Program to find whether the given number is a Armstrong number.
How comment can be represented in XML?
What is full form of PEPSI
What is the difference between proc means and proc tabulate ? explain with a simple example when you have to use means or tabulate?
Write a program to Print the Pascal triangle
How can get all database name using Php and Sql?