ALLInterview.com :: Home Page
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   Errors
   Testimonials Refer this Site  Refer This Site to Your Friends  Site Map  Contact Us      
   
 
 Categories >> Code Snippets
 
  Programming Code (796)   Scripts_Markup Code (195)
 
Suggest New Category 
 


 

Question Asked @ Answers Views     Select
Declare an array of N pointers to functions returning pointers to functions returning pointers to characters?    1  956
#include main() { char * str = "hello"; char * ptr = str; char least = 127; while (*ptr++) least = (*ptr    1  1323
main() { int i=300; char *ptr = &i; *++ptr=2; printf("%d",i); } csc   4  6346
main() { int i = 258; int *iPtr = &i; printf("%d %d", *((char*)iPtr), *((char*)iPtr+1) ); }    1  1611
main() { int i = 257; int *iPtr = &i; printf("%d %d", *((char*)iPtr), *((char*)iPtr+1) ); }    1  2505
main() { void swap(); int x=10,y=8; swap(&x,&y); printf("x=%d y=%d",x,y); } void swap(int *a, int *b) { *a ^= *b, *b ^= *a, *a ^= *b; }    2  2104
main() { static int a[3][3]={1,2,3,4,5,6,7,8,9}; int i,j; static *p[]={a,a+1,a+2}; for(i=0;i<3;i++) { for(j=0;j<3;j++) printf("%d\t%d\t%d\t%d\n",*(*(p+i)+j), *(*(j+p)+i),*(*(i+p)+j),*(*(p+j)+i)); } }    1  3369
int DIM(int array[]) { return sizeof(array)/sizeof(int ); } main() { int arr[10]; printf(“The dimension of the array is %d”, DIM(arr)); } csc   2  3221
#define DIM( array, type) sizeof(array)/sizeof(type) main() { int arr[10]; printf(“The dimension of the array is %d”, DIM(arr, int)); }    1  2082
main() { char *p="GOOD"; char a[ ]="GOOD"; printf("\n sizeof(p) = %d, sizeof(*p) = %d, strlen(p) = %d", sizeof(p), sizeof(*p), strlen(p)); printf("\n sizeof(a) = %d, strlen(a) = %d", sizeof(a), strlen(a)); }    1  1251
main() { int a=2,*f1,*f2; f1=f2=&a; *f2+=*f2+=a+=2.5; printf("\n%d %d %d",a,*f1,*f2); }    6  3045
main() { extern i; printf("%d\n",i); { int i=20; printf("%d\n",i); } }    1  1193
main() { float i=1.5; switch(i) { case 1: printf("1"); case 2: printf("2"); default : printf("0"); } }    1  1496
main() { register int a=2; printf("Address of a = %d",&a); printf("Value of a = %d",a); }    3  2517
main() { int i=4,j=7; j = j || i++ && printf("YOU CAN"); printf("%d %d", i, j); }    1  1777
E-Mail New Answers        Answer Selected Questions       
Prev    1   ... 6   ... 11   ... 16   ... 21   ... 26    32   [33]    34  ... 41   ... 46   ... 51   ... 56   ... 61   ... 66    Next
 
 
 
 
 
Un-Answered Questions
 
 Question Views   Select
 
write a program in java to find the moving average of all prime numbers between 2 and 100. 1809
Write a function to efficiently convert a floating point number to a rational number. For example, given 0.125 return "1/8" 8
Write a program that print in screen a tree with its height taken from user by entering number of 4 digits and find the odd numbers then calculate the sum of odd numbers so he get the height of tree? 1589
write a program to convert temperature from fa height into celcius and vise versa,use modular programming 976
program for check the given number is prime or not in VB.net 1212
Coding for Synchronizing Cache Access in ASP.NET? 1347
plz send code for feature rich resume builder in j2ee frontend:J2EE Backend: DB2 Express 1512
how to programme using switch statements and fuctions, a programme that will output two even numbers, two odd numbers and two prime numbers of the users chioce. 691
program to show a progress bar 1084
What is the functionality of GetWindow? 8
How can i know that how many user are visited to my page in php? 599
code to set the main window's size 623
how to copy form data between different pages 653
c# code to Count number of 1's in a given range of integer (0 to n) 1890
how to use the GetTickCount() properly and what is that procedure for? 1436
E-Mail New Answers        Answer Selected Questions