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 (13)
  • 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 101963

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

9 24164

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

5 19019

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 10838

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

3 5251

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

2 4353

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

1 4237

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 3898

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 2520

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 1693

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

4 10250

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

6 5424

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

1 297

main() { char p[] = "hello world!"; p = "vector"; printf("%s",p); }


Post New Vector Interview Questions

Un-Answered Questions



Hi all, can anyone tell me what is the selection procedure in Birlasoft for Manual Tester?It will be a great help.


what is difference between line differential and transformer differential?


Purpose of TTL. How it gets modified.


What's the difference between a finite state machine (FSM) and a hierarchical finite state machine (HFSM)? Give an example of a hierarchical state machine with functionality that you could not easily replicate in a non-hierarchical FSM.


How do molluscs grow their shells?


What is Shared Access to a File?


what is 2062 stands for in is2062 material?


I create one BRF+ rule and captured in TR while releasing TR , I am getting error , WHy?


how to know the total memory occupied by the objects in the ArrayList(Array list may contain duplicate objects)


What is the rate of Excise duty for all goods Is der any Difference in rate of exice duty for Chemicals And Fabric


difference between ac series and parallel circuit


What is meant by D-FF? What is the basic difference between Latches and Flip flops? What is a multiplexer? How can you convert an SR Flip-flop to a JK Flip-flop? How can you convert an JK Flip-flop to a D Flip-flop? What is Race-around problem? How can you rectify it? Which semiconductor device is used as a voltage regulator and why? What do you mean by an ideal voltage source? What do you mean by zener breakdown and avalanche breakdown? What are the different types of filters? What is the need of filtering ideal response of filters and actual response of filters? What is sampling theorem? What is impulse response? Explain the advantages and disadvantages of FIR filters compared to IIR counterparts. What is CMRR? Explain briefly. What do you mean by half-duplex and full-duplex communication? Explain briefly. Which range of signals are used for terrestrial transmission? What is the need for modulation? Which type of modulation is used in TV transmission? Why we use vestigial side band (VSB-C3F) transmission for picture? When transmitting digital signals is it necessary to transmit some harmonics in addition to fundamental frequency? For asynchronous transmission, is it necessary to supply some synchronizing pulses additionally or to supply or to supply start and stop bit? BPFSK is more efficient than BFSK in presence of noise. Why? What is meant by pre-emphasis and de-emphasis? What do you mean by 3 dB cutoff frequency? Why is it 3 dB, not 1 dB?


What are events and how you use it in BW?


what is the pattern of written test for the post of trainee mechanical engg.


Vector Interview Questions