To Write a C program to remove the repeated characters in
the entered expression or in entered characters(i.e)
removing duplicates.
String contains only lowercase characters ['a'-'z']
No Answer is Posted For this Question
Be the First to Post Answer
#include<stdio.h> main() { FILE *ptr; char i; ptr=fopen("zzz.c","r"); while((i=fgetch(ptr))!=EOF) printf("%c",i); }
main() { char *p="hai friends",*p1; p1=p; while(*p!='\0') ++*p++; printf("%s %s",p,p1); }
int DIM(int array[]) { return sizeof(array)/sizeof(int ); } main() { int arr[10]; printf(“The dimension of the array is %d”, DIM(arr)); }
Declare an array of N pointers to functions returning pointers to functions returning pointers to characters?
main() { extern int i; { int i=20; { const volatile unsigned i=30; printf("%d",i); } printf("%d",i); } printf("%d",i); } int i;
main() { printf("%x",-1<<4); }
Write a program to model an exploding firecracker in the xy plane using a particle system
What is the main difference between STRUCTURE and UNION?
prog. to produce 1 2 3 4 5 6 7 8 9 10
void main() { char a[]="12345\0"; int i=strlen(a); printf("here in 3 %d\n",++i); }
main( ) { int a[2][3][2] = {{{2,4},{7,8},{3,4}},{{2,2},{2,3},{3,4}}}; printf(“%u %u %u %d \n”,a,*a,**a,***a); printf(“%u %u %u %d \n”,a+1,*a+1,**a+1,***a+1); }
main() { int c = 5; printf("%d", main||c); } a. 1 b. 5 c. 0 d. none of the above