Write a programme using structure that create a record of
students. The user allow to add a record and delete a record
and also show the records in ascending order.
No Answer is Posted For this Question
Be the First to Post Answer
#include<stdio.h> #include<conio.h> struct stu { int i; char j; }; union uni { int i; char j; }; void main() { int j,k; clrscr(); struct stu s; j=sizeof(s); printf("%d",j); union uni u; k=sizeof(u); printf("%d",k); getch(); } what is value of j and k.
if (i = 0)printf ("True"); elseprintf("False"); Under what conditions will the above print out the string "True" a) Never b) Always c) When the value of i is 0 d) all of the above
1. Write a C program to count the number of occurrence of a specific word in the given strings. (for e.g. Find how many times the word “live” comes in the sentence “Dream as if you’ll live forever, live as if you’ll die today ”)
what will be the output for the following main() { printf("hi" "hello"); }
write a program to display & create a rational number
How does #define work?
What is null pointer in c?
Write a C program that computes the value ex by using the formula ex =1+x/1!+x2/2!+x3+3!+………….
write a c program that if the given number is prime, and their rearrangement(permute) of that number is also prime. Ex: Input is "197" is prime Output: 791,917,179 is also prime. Please any one tell me tha code for that
FILE PROGRAMMING
c program to subtract between two numbers without using '-' sign and subtract function.
In C, What is the #line used for?