Company Name Starts with ...
#  A  B  C  D  E   F  G  H  I  J   K  L  M  N  O   P  Q  R  S  T   U  V  W  X  Y  Z

  • Vector interview questions (17)
  • Vector placement papers (1)

Vector Interview Questions
Questions Answers Views Company eMail

To Write a C program to remove the repeated characters in the entered expression or in entered characters(i.e) removing duplicates.

19 110239

main() { int a=4,b=2; a=b<>2; printf("%d", a); }

9 31004

main() { int *ptr=(int*)malloc(sizeof(int)); *ptr=4; printf("%d",(*ptr)+++*ptr++); }

5 22790

main() { int i = 10; printf(" %d %d %d \n", ++i, i++, ++i); }

8 15266

int array[]={1,2,3,4,5,6,7,8}; #define SIZE (sizeof(array)/sizeof(int)) main() { if(-1<=SIZE) printf("1"); else printf("2"); }

2 14485

main() { int a=10,b; b=a>=5?100:200; printf("%d\n",b); }

1 3967

main() { int x, arr[8]={11,22,33,44,55,66,77,88}; x=(arr+2)[3]; printf(“%d”,x); }

7 7919

struct tag{ auto int x; static int y; };main() { struct tag s; s.x=4; s.y=5; printf(“%d”,s.x); }

2 6287

main() { struct test { char c; int i; char m; } t1; printf("%d %d\n", sizeof(t1), sizeof(t1.c)); }

1 5531

main() { unsigned int k = 987 , i = 0; char trans[10]; do { trans[i++] =(char) (k%16 > 9 ? k%16 - 10 + 'a' : '\0' ); } while(k /= 16); printf("%s\n", trans); }

4 5824

main() { FILE *fs; char c[10]; fs = fopen(“source.txt”, ”r”); /* source.txt exists and contains “Vector Institute” */ fseek(fs,0,SEEK_END); fseek(fs,-3L,SEEK_CUR); fgets(c,5,fs); puts(c); }

1 4172

main() { char as[] = "\\0\0"; int i = 0; do{ switch( as[i++]) {case '\\' : printf("A"); break; case 0 : printf("B"); break; default : printf("C"); break; }} while(i<3); }

4 3330

#define MAX 3 main() { printf("MAX = %d \n",MAX ); #undef MAX #ifdef MAX printf("Vector Institute”); #endif

4 14057

main() { int a[3][4] ={1,2,3,4,5,6,7,8,9,10,11,12} ; int i, j , k=99 ; for(i=0;i<3;i++) for(j=0;j<4;j++) if(a[i][j] < k) k = a[i][j]; printf("%d", k); }

4 10790

main() { enum _tag{ left=10, right, front=100, back}; printf("%d, %d, %d, %d", left, right, front, back); }

1 3175

Post New Vector Interview Questions

Un-Answered Questions

How is it possible to do a cross-sysplex copy of a PDS dataset by running one JCL on the target sysplex? I tried to use IEBCOPY with SUBSYS & CSM as follows: //CSMTRAN1 EXEC PGM=IEBCOPY //SYSPRINT DD SYSOUT=* //SYSUT1 DD DSN=PDS-Dataset-name-from,DISP=SHR, // SUBSYS=(CSM,'SYSPLEXNAME-FROM') //SYSUT2 DD DSN=PDS-Dataset-name-to,DISP=OLD, // SUBSYS=(CSM,SYSPLEXNAME-TO') //SYSIN DD DUMMY This did not work. I always get the following error "IEB1071E DD NAME SYSUT1 IS SUPPOSED TO BE A PARTITIONED DATA SET BUT IT HAS NO DIRECTORY. EXPECT A TERMINAL I/O ERROR. (DS1LSTAR=X'000000' DS1DSORG=X'0000' JFCDSORG=X'0200') " The source dataset is a catalogued pds dataset with many entries. The target dataset is allocated in the same job some lines before the transfer. I got an example like this for PS datasets with IEBGENER. But for PO datasets there should be a similar possibility...


How to Implement the VB TwipsPerPixel in Delphi ?


What is a Secondary Namenode? Is it a substitute to the Namenode?


How to connect to an InterBase database using the BDE API?


How to Create a Working Folder for a Shared Project?


details about telephone wiring


where i can get APPSC AEE(Mechanical Engg) previuos question papaers


Why there is Powerfactor difference when we compare to our Capacitive Panel and TNEB side?


i want to know fire safety factory purpose .. does fire mauual call point requires hooter or mcp has inbuilt siren...???


How does optical pyrometer work?


indian standard split spoon sampler


This Problem May Arise For Most Of The MBA'S That AFter Studing MBA Which Job SHOULD We Have To Apply HR POINT OF VIEW 


Tell me your experience with CI?


Have you worked with other on team endeavors


Hi to all..I have to create an intranet application on C#.NET windows Application so please please let can you people help me as iam new in .NET and if u have any samples or website address from where i can get sample please let know.


Vector Interview Questions