Write a program to print numbers from 1 to 100 without using loops
2. Write a program to print "Hello World" without using semicolon 3. Write a C program to swap two variables without using a temporary variable 4. Write a C program to reverse a string. 5. Write a C program for calculating the factorial of a number. 6. How to generate fibonacci numbers? How to find out if a given number is a Fibonacci number or not? Write C programs to do both. 7. Write C code to check if an integer is a power of 2 or not in a single line? 8. Write code to remove duplicates in a sorted array. 9. Write C code to dynamically allocate one, two and three dimensional arrays (using malloc()). 10.Write C code to return a string from a function. 11.Write a C program which produces its own source code as its output. 12.Write a C program to multiply two matrices. 13.Write a C program to check for palindromes. 14.Write a C program to convert a decimal number into a binary number. 15.Write a program to check if a given year is a leap year or not? 16.Write your own sqrt() function in C. 17.Write a simple piece of code to split a string at equal intervals. 18.How can we sum the digits of a given number in single statement? 19.Write your own trim() or squeeze() function to remove the spaces from a string. 20.Write a C program to print a square matrix helically. 21.Write a C program generate permutations. 22.Write a C program to convert from decimal to any base (binary, hex, oct etc). 23.Write a program to display the multiplication table of a given number. 24.Write a C program to find the GCD of two numbers. 25.Write a program to print the pattern
1 32 456 10 9 8 7
26.C program for solving quadratic equation.
27.C program to find given number is prime or not 28.Write a c program to print Pascal triangle 29.Write a c program to check given number is perfect number or not.
30.Write a c program to check given number is Armstrong number or not.
31.Write a c program to check given number is prime number or not. 32.Write a c program for Floyds triangle. 33.Write a c program to add two numbers without using addition operator. 34.Write a c program to delete the all consonants from given string. 35.Write a c program to find out second largest element of an unsorted array.
36.Write C code to solve the Tower of Hanoi problem.
37. Write a c program to find out generic root of any number. 38.C program to reverse a string using pointers 39. How to convert string to int without using library functions in c
40.Lower triangular matrix in c
41.Upper triangular matrix in c 42. Write a c program to find out sum of diagonal element of a matrix. 43. Write a c program to open a file and write some text and close it. 44.Write a program to find the number of lines in a text file. 45.Write a c program to delete a file. 46.Write a c program to find the size of int without using sizeof operator. 47.Write a c program which takes password from user. 48.How to find first non repeated character of a given String? 49.How to find all pairs in array of integers whose sum is equal to given number? 50.Write a program to print the pattern
Learn Python Programming for Beginners: Best Step-by-Step Guide for Coding with Python, Great for Kids and Adults. Includes Practical Exercises on Data Analysis, Machine Learning and More.
Microsoft 365 Guide to Success: 10 Books in 1 | Kick-start Your Career Learning the Key Information to Master Your Microsoft Office Files to Optimize Your Tasks & Surprise Your Colleagues | Access, Excel, OneDrive, Outlook, PowerPoint, Word, Teams, etc.