To reverse an entire text file into another text file....
get d file names in cmd line
No Answer is Posted For this Question
Be the First to Post Answer
write a program to find out roots of quadratic equation "x=-b+-(b^2-4ac0^-1/2/2a"
Is the following code legal? void main() { typedef struct a aType; aType someVariable; struct a { int x; aType *b; }; }
Link list in reverse order.
What is full form of PEPSI
main() { struct date; struct student { char name[30]; struct date dob; }stud; struct date { int day,month,year; }; scanf("%s%d%d%d", stud.rollno, &student.dob.day, &student.dob.month, &student.dob.year); }
Ramesh’s basic salary is input through the keyboard. His dearness allowance is 40% of basic salary, and house rent allowance is 20% of basic salary. Write a program to calculate his gross salary.
Write a c program to search an element in an array using recursion
main( ) { int a[ ] = {10,20,30,40,50},j,*p; for(j=0; j<5; j++) { printf(ā%dā ,*a); a++; } p = a; for(j=0; j<5; j++) { printf(ā%d ā ,*p); p++; } }
main() { static int var = 5; printf("%d ",var--); if(var) main(); }
Finding a number which was log of base 2
#include<stdio.h> main() { char s[]={'a','b','c','\n','c','\0'}; char *p,*str,*str1; p=&s[3]; str=p; str1=s; printf("%d",++*p + ++*str1-32); }
Print an integer using only putchar. Try doing it without using extra storage.