To Write a C program to remove the repeated characters in the entered expression or in entered characters(i.e) removing duplicates.
19 124716int 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 26101struct tag{ auto int x; static int y; };main() { struct tag s; s.x=4; s.y=5; printf(“%d”,s.x); }
2 12171main() { struct test { char c; int i; char m; } t1; printf("%d %d\n", sizeof(t1), sizeof(t1.c)); }
1 8741main() { 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 12153main() { 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 9136main() { 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 9550#define MAX 3 main() { printf("MAX = %d \n",MAX ); #undef MAX #ifdef MAX printf("Vector Institute”); #endif
4 26882main() { 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 22953main() { enum _tag{ left=10, right, front=100, back}; printf("%d, %d, %d, %d", left, right, front, back); }
1 8810Post New Vector Interview Questions
If a cursor is open, how can we find in a pl/sql block?
What is power analysis ?
What is the significance of the arrow-head in the transistor symbol?
How will you move hashed file from one location to another location?
I have some queries about Service Tax, I am working in a Insurance Broking Company. 1) We have raised one bill on 25.04.09 for the services provided by us in the month Mar, 09 Now We received the chq on May, 09 followed in the Month of June,09. When the service tax is actually payable in the month of received of Service tax amount or in the month of services actually provided by us (Mar09) 2) Can we take 100% credit of Service Tax Input paid to those who provided services to us. Suppose Service Tax payable is Rs. 100/- and Service tax charged by the other firms/company Rs. 80/-. The question is That can we deduct Rs. 80/- (already paid). Now Net ST payable would be Rs. 20/- or other percent of service tax input is available 3) What is the rate of interest for Service tax if not paid on time. Pls help me out asap
what is weighted average rating factor?
What is definition list in html?
Explain ‘field name for partitioning’ in co-pa
what is mppt (maximum power point tracking ) and how they used in solar power generation ??? what are the main components used in mppt?????
What are the 2 ways to pass a value to the function?
How do I remove values in excel 2016?
Can you please mail me the latest syllabus of UTTAR PRADESH DRUG INSPECTOR entrance exam and UTTAR PRADESH FOOD INSPECTOR entrance exam with the eligibility criteria for Uttar Pradesh domicile candidates.
What advantages do numpy arrays offer over (nested) python lists?
What is varchar mysql?
What is the difference between j std 001 and ipc a 610?