Basic Syntax FILE * file =fopen(" xyx.txt ","r/w/r+/w+/a"); if(!file)return printf(" Error Msg "), 1; . . ....
File Handling Questions
"Given a text file, create another text file deleting the following words “three”, “bad”, and “time”." "Some text file is gi...
Multidimensional Array
$emp=[ [1,"Suman","Adhikari",5000], [2,"Sabin","Adhikari",4000], [3,"Neeta","Adhika...
Pointer
Fundamental About Pointer #include <stdio.h> #include <stdlib.h> int main() { int *ptr, n, i; printf("Enter number of ele...
String
Write a program take an address form user and check it is Kathmandu or not in C language. #include <stdio.h> #include <string.h...
Array
"Write a program to find the largest and smallest among the given element in an array." #include <stdio.h> int main () { ...
Loop
Write a program for display your name 50 times in C language. #include <stdio.h> int main (){ for ( int i = 0 ; i < 50 ; i ++ ;)...
Switch case
Write a complete C program that takes input from keyboard and Gives the name of day in the input of 1 to 7 and write an invalid message. #i...
Subscribe to:
Posts (Atom)