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 (12)



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.

18 89638

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

9 20193

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

5 15805

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"); }

1 9036

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

3 4104

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

1 3449

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

1 3361

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); }

3 3107

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); }

1980

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); }

2 1204

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

3 8281

main() { char input[] = "SSSWILTECH111"; int i, c; for ( i=2; (c=input[i])!=''; i++) { switch(c) { case 'a': putchar ('i'); continue; case '1': break; case 1: while (( c = input[++i]) != '1' && c!= ''); case 'E': case 'L': continue; default: putchar(c);continue; } putchar(' '); } putchar(' '); }

86

Post New Vector Interview Questions




Un-Answered Questions

HOW CAN I GET 5CORE HO7 CABLE SIZE IF I HAVE 1800A?

567


please send me last year question for executive tranees in ntpc on my email ID rajthakur2091@gmail.com

699


What is mean 2XWY

400


What?s new in the LogicLock? feature?

1587


hi all i like to know vat is power plot in control systems also i want to know abt latest trends in electrical & electronics

553


What is the average number of transmission required to send a frame of length 1600 bytes correctly, if the bit error rate is 1 x 10-6.

125


wht did you apply at teletech? why not in tanscom, convergy's, ventus, etc.?

1020


why the path of a satellite is always elliptical with earth not at the centre of the ellipse?

1524


in Contactor opearation Why there is a difference in the values of the operate and release voltage in case AC supply

501


How to Get property information ?

651


write the testcases for migrating data from one database to another database?

885


List out the points of diesel generator B check?

734


what is meant by 8.0.4 in TEMS 8.0.4?

509


What kind of tools and materials are required to test water softening system of heating plant?

627


Whether construction of office cum storage comes under CMA under Agriculture or Non Farm Sector

223




Vector Interview Questions