Questions: Top-30-c-programs-asked-in-interview_6304.html 30. WAP to find out if a given number is a power series of 2 or not,withou t any loop and without.....
Monday, September 2, 2013
Code for duplicate s removal
Questions: Top-30-c-programs-asked-in-interview_6304.html 29. Code for duplicate' s removal,by Amit Aru. #include #include void main() { int i,j,k=0,co unt[300]={ 0}; char ch,str[100 0],str1[10 00]; clrscr();.....
Count the Total Number of 7 comming between 1 to 100.
Questions: Top-30-c-programs-asked-in-interview_6304.html 28.Count the Total Number of 7 comming between 1 to 100. /* I made this code in a way that u can.....
WAP to print xay in place of every'a'in a string.
Questions: Top-30-c-programs-asked-in-interview_6304.html 27.WAP to print'xay'in place of every'a'in a string. #include #include void main() { int i=0; char str[100],x ='x',y='y' ; printf("En ter the.....
WAP to print the triangle of letters in increasing order of lines.
Questions: Top-30-c-programs-asked-in-interview_6304.html 26.WAP to print the triangle of letters in increasing order of lines. #include #include void main() { int i,j,k; char ch; printf("\n.....
Programm of India Map
Questions: Top-30-c-programs-asked-in-interview_6304.html 25.Prog of India MAP. main() { int a,b,c; int count = 1; for (b = c = 10; a = "- FIGURE?,.....
WAP to find out the longest word in a string.
Questions: Top-30-c-programs-asked-in-interview_6304.html 24. WAP to find out the longest word in a string. #include #include #include void main() { int i,max=0,co unt=0,j; char str[100];.....
WAP to print DONE,witho ut using any loop and any conditonal clause or operators.
Questions: Top-30-c-programs-asked-in-interview_6304.html 22.WAP to print DONE 100 times,without using any loop. // asked to my frnd in any company. main() { static int i=1;.....
WAP to check a string is Caliondrome or not. // Maventic question.
Questions: Top-30-c-programs-asked-in-interview_6304.html 21. .WAP to check a string is Caliondrome or not. // Maventic question. #include #include void main() { int i,j=0; char a[100];.....
Write a program to display the multiplica tion table of a given number.
Questions: Top-30-c-programs-asked-in-interview_6304.html 20.Write a program to display the multiplica tion table of a given number. Program: Multiplica tion table of a given number #include.....
Write a C program which asks the user for a number between 1 to 9 and shows the number. If the user inputs a number out of the specified range, the program should show an error and prompt the user for a valid input.
Questions: Top-30-c-programs-asked-in-interview_6304.html 19.Write a C program which asks the user for a number between 1 to 9 and shows the number. If the user inputs.....
Write a program to find the number of lines in a text file.
Questions: Top-30-c-programs-asked-in-interview_6304.html 18.Write a program to find the number of lines in a text file. Number of lines in a file can be determined.....
Write a program to replace a specified line in a text file.
Questions: Top-30-c-programs-asked-in-interview_6304.html 17.Write a program to replace a specified line in a text file. Program: Program to replace a specified line in a text.....
Write a program to delete a specified line from a text file.
Questions: Top-30-c-programs-asked-in-interview_6304.html 16. Write a program to delete a specified line from a text file. In this program, user is asked for a filename.....
Write a program to concatenat e two strings without using strcat() function.
Questions: Top-30-c-programs-asked-in-interview_6304.html 15.Write a program to concatenat e two strings without using strcat() function. strcat(str ing1,strin g2) is a C standard function declared in.....
Write a program to compare two strings without using strcmp() function.
Questions: Top-30-c-programs-asked-in-interview_6304.html 14.Write a program to compare two strings without using strcmp() function. strcmp() function compares two strings lexicograp hically. strcmp is declared in.....
Write a program to print a semicolon without using a semicolon anywhere in the code.
Questions: Top-30-c-programs-asked-in-interview_6304.html 13.Write a program to print a semicolon without using a semicolon anywhere in the code. Generally when use printf("") statement we have.....
Write a program to print Hello World without using semicolon anywhere in the code.
Questions: Top-30-c-programs-asked-in-interview_6304.html 12.Write a program to print "Hello World" without using semicolon anywhere in the code. Generally when we use printf("") statement, we have.....
Write a program to generate the Fibonacci series.
Questions: Top-30-c-programs-asked-in-interview_6304.html 11. Write a program to generate the Fibonacci series. Fibonacci series: Any number in the series is obtained by adding the previous.....
Write a program to check whether the given string is a palindrome .
Questions: Top-30-c-programs-asked-in-interview_6304.html 10.Write a program to check whether the given string is a palindrome . Palindrome is a string, which when read in both.....
Write a program to check whether the given number is a palindromi c number.
Questions: Top-30-c-programs-asked-in-interview_6304.html 9. Write a program to check whether the given number is a palindromi c number. If a number, which when read in.....
Write a program to check whether the given number is a prime.
Questions: Top-30-c-programs-asked-in-interview_6304.html 8. Write a program to check whether the given number is a prime. A prime number is a natural number that.....
answer to 6 and 7 questions find the greatest
Questions: Top-30-c-programs-asked-in-interview_6304.html 6. Write a program to find the greatest of three numbers. Program: #include int main(){ int a, b, c; printf("En ter a,b,c:.....
Write a program to swap two numbers using bitwise operators.
Program: #include int main(){ int i = 65; int k = 120; printf("\n value of i=%d k=%d before swapping", i, k); i =.....
ANSWERS OF QUESTION 1-5 FOR POST
ANSWERS OF QUESTION 1-5 FOR POST http://crushack.blogspot.in/2013/09/top-30-c-programs-asked-in-interview_6304.html 1. Write a program to find factorial of the given number. Recursion: A function is called'recursive 'if.....