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 (16)
  • 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 107770

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

9 28921

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

5 21591

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

8 13752

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 13384





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

1 3421

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

6 7024

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

2 5616

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

1 5071

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 5056

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 3589

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 2633

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

4 12764

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 9505

main() { int ptr[] = {1,2,23,6,5,6}; printf("%d",&ptr[3]-&ptr[0]); }

6 7824

Post New Vector Interview Questions



Un-Answered Questions

Write a function expand(s1,s2) that expands shorthand notations like a-z in the string s1 into the equivalent complete list abc...xyz in s2 . Allow for letters of either case and digits, and be prepared to handle cases like a-b-c and a-z0-9 and -a-z. z-a:zyx......ba -1-6-:-123456- 1-9-1:123456789987654321 a-R-L:a-R...L a-b-c:abbc

2911


Sir we wants to const ruct a wall,size wall is 50x30x9/12' feet.how many bricks required. Please advise

491


Short Answer on -----Trade mark

662


Do we have any certifications for ETL Testing ?

958


Implementation methodology

524






What is Arithmetic-based operations?

287


I Want To Know Quantity of Cement Conc. & Sand in Column of 9"x9"x10'

782


What is the difference between a Listener process and a Handler process?

267


develop algorithms to add polynomials (i) in one variable

916


How to find a sequence of dna molecule?

875


what is the role of external testing companies?

827


Hi, Can we open a test in qtp10 which is saved in qtp 9.2?

669


why is control bus bi-directional?

801


How many cylonders are there in 2stroke diesel engine?

748


What is Salt Filter?

510






Vector Interview Questions