C Programming and Technical Programming Program

write a c program:
input: 1234ABCD
output: 1A2B3C4D.
you can only use one string. more than one string is not allowed.entire operation should be done in that string only

Read Solution (Total 6)

C Other Question

What is the output of this C code?

#include
int main()
{
int i = 10;
void *p = &i;
printf("%dn", (int)*p);
return 0;
}
a) Compile time error
b) Segmentation fault/runtime crash
c) 10
d) Undefined behaviour
Which header file should be included to use functions like malloc() and calloc()?

Options
1) memory.h
2) stdlib.h
3) string.h
4) dos.h