Free programming tutorials
Stop just reading code.
Start building with it.
Learn programming with step-by-step tutorials, hundreds of programs with their output, MCQ quizzes and an online editor that runs your code instantly. Free, no sign-up.
- Programs & lessons
- 220+
- Programs & lessons
- Articles
- 30+
- Articles
- Languages
- 8
- Languages
#include <stdio.h>
int main() {
int a = 5, b = 7;
printf("Sum = %d\n", a + b);
return 0;
}Output
Sum = 12
What you can do on StudyFame
Learn step by step
Short tutorials that explain one idea at a time.
Practice with programs
Hundreds of solved programs, each with its output.
Test yourself
MCQ quizzes with answers to check what stuck.
Run code online
Edit HTML, CSS and JavaScript and see it live.
Learning resources
Pick a language and start coding
Begin with the fundamentals, then practice with real programs.
- C C TutorialFree C tutorial from basics to advanced: 18 modules with examples, output, line-by-line explanations, practice questions, coding exercises and quizzes107 pages
- CC ProgramPrograms with output55 pages
- PHPPHP ProgramServer-side programs13 pages
- JSJavaScriptLearn the language4 pages
- SQLPL/SQL ProgramBlocks, cursors, loops15 pages
- C++C++ ProgramOOP and logic programs13 pages
- C#C# ProgramBeginner .NET programs7 pages
- JSJavaScript ProgramPractice with programs15 pages
Online code editor
Don't just read code. Run it.
Write HTML, CSS and JavaScript right here and see the result instantly. Nothing to install, and your code runs safely in your browser.
- Live preview of your page
- Great for trying tutorial examples
- Works on any device
Output
MCQ practice
Know what you know.
Timed multiple choice quizzes with marks and answers. A quick way to revise before an exam or an interview.
All MCQ quizzesFrom the blog
Latest articles
- StoryA Real Long-Distance Love Story of Faith and ForeverRaj and Varsha’s heartfelt long-distance love story proves that faith, hope, and true love can overcome distance, culture, and every obstacle.Read article →
- Brain Teasers10 Best Riddles with Answers, Hints, and Simple Explanations (Fun Brain Teasers 2025)Discover 10 of the best riddles with answers, hints, and simple explanations. Perfect for kids, adults, and team games. Test your brain with fun riddles like “What comes once in a minute?” and “I’m tall when I’m young, short when I’m oldRead article →
- Artificial IntelligenceUSA Today Launches DeeperDive AI Chatbot: What It Means for News Readers in 2025USA Today has introduced DeeperDive, a new AI chatbot that gives news summaries, answers questions, and recommends stories. Learn how it works and why it matters.Read article →
Learn by doing, not by memorising.
Every topic pairs the explanation with code you can read, run and change.
Typical tutorial
- Long theory, few examples
- Code you can't try
- No way to check yourself
StudyFame
- Programs with their output
- Run code in the browser
- MCQs to test what you learned
Your next skill starts with one program.
Pick a language, read the example, run it, and change it. That's how coding sticks.