Yes, you read it right. Seems impossible ? Nothing is impossible. Though it seems meaningless to write C Program without main Function . Every Program Must have Main Function as it is Entry Point of Every C Program. All Predefined and User-defined Functions are called directly or indirectly through the main.
Read MoreBefore moving forward to write program to check whether two strings are anagram or not. We will discuss what actually anagrams are. Anagram is a form of word play in which letters of a word or phrase are rearranged in such a way that a new word or phrase is formed. Anagram is formed by using […]
Read MoreWhenever we are asked to write a program to find length of string, we make use of inbuilt function- strlen (). Obviously, it is the easy method and we can use that. But sometimes, we are asked not to use the strlen (). This program helps to find length of string without using strlen ().
Read MoreThis program asks the user to enter the times in term of seconds. Then it convert time in seconds to hours , Minutes and seconds. #include <stdio.h> #include< conio.h> Void main() {
Read MoreTry the following program to Print India Map #include <stdio.h> #include<conio.h> main() { int a,b,c;
Read MoreWhenever we are asked to write a program to find length of string, we make use of inbuilt function- strlen (). Obviously, it is the easy method and we can use that. But sometimes, we are asked not to use the strlen (). This program helps to find length of strings without using strlen ().
Read More#include <stdio.h> #include<conio.h> void main() { FILE *fp1, *fp2; char ch;
Read MoreThis program asks the user to enter the times in term of seconds. Then it convert time in seconds to hours, Minutes and seconds. #include<stdio.h> #include<conio.h>
Read MoreWhenever we are asked to write a program to compare two strings, we make use of inbuilt function- strcmp (). Obviously, it is the easy method and we can use that. But sometimes, we are asked not to use the strcmp (). This program helps to compare two strings without using strcmp ()
Read MoreWhenever we are asked to write a program to concatenate two strings, we make use of inbuilt function- strcat (). Obviously, it is the easy method and we can use that. But sometimes, we are asked not to use the strcat (). This program helps to concatenate two strings without using strcat()
Read More