Write a code to remove duplicates in a string.
No Answer is Posted For this Question
Be the First to Post Answer
Write a C program to read the internal test marks of 25 students in a class and show the number of students who have scored more than 50% in the test. Make necessary assumptions.
Write a program to find minimum between three no.s whithout using comparison operator.
Explain #pragma in C.
I use turbo C which allocates 2 bytes for integers and 4 bytes for long. I tried to declare array of size 500000 of long type using the following code... long *arr; arr=(long *)(malloc)(500000 * sizeof(long)); It gives a warning that "Conversion may lose significant digits in function main"... And the resulting array size was very less around 8400 as compared to 500000. Any suggestions will be welcomed....
write a c program for greatest of three numbers without using if statment
a<<1 is equivalent to a) multiplying by 2 b) dividing by 2 c) adding 2 d)none of the above
Predict the output or error(s) for the following: 25. main() { printf("%p",main); }
main() { printf("\n %d %d %d",sizeof('3'),sizeof("3"),sizeof(3)); }
What is the benefit of using const for declaring constants?
what is the output of the following program? #include<stdio.h> void main() { int x=4,y=3,z; z=x-- -y; printf("\n%d %d %d",x,y,z); }
what is the different between data structure and data type?
What does return 1 means in c?