C and C++ programming · page 2
190 articles. C and C++ programs, pointers, arrays, storage classes and language concepts with code. Showing 101–190.
C and C++ programming articles (101–190)
- Armstrong Number in C: Logic, Code & Output ExplainedExplore the Armstrong number program in C. Understand the underlying logic, view the code, and analyze the output with our comprehensive tutorial.
- C Program to Check Whether a Number Is PrimeExplore multiple ways to check prime numbers in C: loops, functions, and recursion. Learn with code examples, pseudocode, time complexity, and…
- Do-While Loop in C: Examples and Execution FlowExplore the do-while loop in C. This resource offers multiple code examples and a thorough dry run analysis to clarify how it works.
- Quadratic Equation Solver in C | Learn Programming FastCreate a quadratic equation solver in C programming. Ideal for beginners learning math-based coding with real-world applications and logical…
- Mastering For Loops in C: Practical Examples ExplainedLearn about For Loops in C through practical use cases. This guide provides clear explanations to help you master this essential programming concept.
- Palindrome in C with Multiple Code ExamplesLearn how to check for a palindrome in C using different methods. Explore multiple code implementations with explanations for better clarity.
- Data Types in C – A Beginner’s Guide with Simple ExamplesEver wondered how your computer knows the difference between a number and a word? That’s where data types in C come in. In simple words, data…
- Format Specifier in C Guide to printf and PlaceholdersData types specifiers in C are crucial to streamlining the input and output procedures in a presentation, which acts as go-between between the…
- Multiset in C++: Definition and Usage with ExamplesC++ is undoubtedly the most potent programming language for implementing data structures and algorithms. The multiset in C++ is one of those few…
- Centigrade to Fahrenheit Conversion in CLearn how to convert Centigrade (Celsius) to Fahrenheit using a simple formula and C program.
- Difference Between C and Java: Key ComparisonsProgramming is the backbone of modern technology. From mobile apps and websites to enterprise software and embedded systems, code powers nearly…
- C Code Examples Beginners Must Try & PracticeGet started with C using these must-practice code examples for beginners. Includes fundamental programs to build a strong C foundation.
- Function Overloading in C++: Concepts and ExamplesIn the world of programming, clarity and simplicity often determine how effectively you write code. But sometimes, what looks simple to us — such…
- How Huffman Coding Works | Compression in C & BeyondUnderstand Huffman coding from basics to advanced. Explore tree building, encoding, decoding, and real-world uses in audio, video, and file formats.
- Master Input Output Functions in C with ExamplesExplore C programming input and output functions like scanf, printf, fgets with real-life programs, common errors, and step-by-step explanations.
- Master Star & Number Patterns in C and Python EasilyMaster pattern programs in C and Python to boost your logic, loop skills, and interview prep.
- Polymorphism in C++ | Types & Code Examples ExplainedUnderstand polymorphism in C++ with this simple guide. Learn types like compile-time and run-time polymorphism with easy-to-follow examples.
- Addition in C: Simple Program to Add Two NumbersAdding two numbers might sound like the easiest thing in programming and honestly, it kind of is. But it’s also the perfect starting point if…
- Array Definition in C: Syntax, Types, and Code ExamplesLearning C programming is the foundational step for anyone pursuing a Full Stack Developer Course. It lays the groundwork for understanding…
- C++ Hello World Program for Beginners Made SimpleStart coding in C++ with a simple Hello World example. This beginner-friendly guide explains syntax, setup, compiling, and common mistakes to avoid.
- Map Find in C++: How to Use and ExamplesImagine you're building a contact list where each name is connected to a phone number. When you need to find someone’s number, wouldn’t it be…
- Palindrome Program in C++ with CodeExplore C++ palindrome logic with examples using strings, numbers, and recursion. Perfect for interview prep, algorithm practice, and hands-on coding.
- Patterns in C Programming: Top 10 Pattern Printing ExamplesMaster C programming with these top 10 pattern printing examples. Includes code for triangle, star, and number patterns with easy explanations.
- Prime Number Checker in C: Full Code TutorialBuild your own prime number checker in C. This tutorial offers complete, runnable code, explaining each part of the program to help you understand…
- Generate Fibonacci Series in C++ with CodeExplore C++ code examples to generate Fibonacci numbers using loops and recursion. Boost your coding skills with practical algorithm examples.
- Getchar Function in C with ExamplesGet to know the getchar() Function getchar() function getchar () is a type of function present in standard library function in C and used to read…
- Calculator Program in C: Step-by-Step GuideLearn C calculator programs using switch, if-else, loops & functions. Includes scientific & EMI calculators. Best for beginners & coding interview…
- Convert String to Int in Python and CWorking with data type conversions is a crucial skill in programming, especially when you're handling user input, managing files, or working with…
- Learn Loops in C++ with Code and OutputWant to learn loops in C++ the easy way? Loops are one of the best tricks in programming. They help you repeat tasks without writing the same code…
- Master User Defined Functions in C with ExamplesLearn how to write user defined functions in C programming. Improve code reusability, readability, and efficiency with practical examples and…
- Types of Loops in C: For, While, and Do-WhileIf you’re just starting your journey with the C programming language, one of the key topics you’ll come across is loops. Loops are the building…
- What Are Keywords in C Language? List, Uses & ExamplesLearn what keywords in C language are, their types, uses, examples, and best practices. Explore the complete list of C keywords with practical…
- C If Else Statement Made Easy with ExamplesUnderstand the if else statement in C programming through easy syntax and practical examples. A helpful guide for beginners and coding learners.
- Factorial Program in C++ with Code – A Beginner’s Guide to C++ ProgrammingHave you ever wondered how many ways you can arrange a set of books on a shelf? Or how many different passwords can be created using a combination…
- Friend Function in c plus plus with Use CasesThe use of friend functions in C++ allows the non-member functions to access the private members of a class and the protected members as well…
- Understanding C++ Maps: Syntax & Practical UsesLearn all about C++ maps, including their syntax, fundamental operations, and practical applications in software development with examples.
- C plus plus STL Overview of Standard Template Library ComponentsC++ Standard Template Library (STL) is a set of template classes and functions that offer widely used data structures and algorithms, making the…
- Structure of a C Program with Example and ExplanationUnderstand the complete structure of a C program from start to finish. Includes code examples, function use, comments, and best practices for…
- Syntax of Function in C: How to Declare and UseIn the world of C programming, functions are like reusable blocks of logic. They allow you to break a big, complex problem into smaller…
- Travelling Salesman Problem in C – Explained SimplyUnderstand the Travelling Salesman Problem with examples, flowcharts, and algorithms like brute force, dynamic programming, and greedy methods in C.
- Auto, Static, Extern, Register in C ExplainedUnderstand what storage class in C means. Master variable scope, linkage, duration, and how auto, static, extern, and register affect C program…
- C Language Variables: Declaration, Types & Examples ExplainedGet a clear guide on declaring variables in C, exploring int, char, float, and double types with practical examples for better coding skills.
- Data Types in C Language: Explained with Examples, Memory & Use CasesMaster C language data types with this complete guide covering int, float, char, double, arrays, pointers, structures, and more.
- For Loop Syntax in C Explained with Examples and Use CasesLearn the syntax, structure, and variations of the for loop in C programming. This comprehensive guide covers examples, flowcharts, nested loops.
- Boolean Data Type in C Language ExplainedIf you've ever written a condition like if (x == 10) in a C program, you've already been introduced—perhaps unknowingly—to the concept of Boolean…
- Array Syntax in C Declaration Initialization and UsageC based arrays are the essential data structures which enable storage of several values of identical data types into successive memory addresses .…
- Bitwise Operators in CMaster bitwise operators in C with detailed examples and practical applications. Learn how to use &, |, ^, ~, <<.
- C Array Length Calculation TechniquesLearn the best techniques to calculate the length of arrays in C, including compile-time tricks, runtime tracking, pointer arithmetic, and macros.
- Constructor in C++: Types, Syntax, Examples & Best PracticesLearn all about constructors in C++—what they are, types like default, parameterized, copy, and dynamic constructors, syntax, real-world examples.
- Escape Sequence in C with ExamplesLearn escape sequences in C with clear examples meanings and best practices Understand newline tab backslash double quote null terminator and more…
- Java vs C++: Key Differences, Use Cases & PerformanceCompare Java and C++ in syntax, speed, memory, and real-world use. Discover which language suits gaming, enterprise apps, or interviews. Learn…
- Learn Switch Case in C for Cleaner, Efficient CodingMaster switch case in C programming to simplify complex decisions. Ideal for beginners seeking clear, efficient, and maintainable code with…
- Prime Number Program in C with CodeUnderstanding prime numbers is one of the foundational steps in grasping programming logic. Whether you're gearing up for coding interviews or…
- C++ Reference What Is It and How to Use ItThe C++ References are one of the core specifications in C++ which enables you to get an alias or different name to an existing variable . This…
- C Programming Tutorial for Beginners | Learn C FastMaster the basics of C programming with this beginner-friendly guide. Learn syntax, loops, arrays, pointers, and build a strong foundation in…
- Conditional Operator in C Explained with ExamplesGet the hang of C’s Conditional Operator with simple examples and clear explanations for better coding techniques.
- Learn Input-Output Functions in C for Easy CodingDiscover how input-output functions in C programming help create interactive, user-friendly programs. Ideal for beginners learning real-world…
- Master Nested If-Else in C Programming for BeginnersLearn how nested if-else in C enables logical decision-making. Build problem-solving skills and write efficient programs with real-world applications.
- Prime Number Code in C Efficient Program to Check PrimesIn C programming the prime number is a natural number larger than 1 and only divisible by 1 and the prime number itself. Nonprime numbers are…
- C Program to Add Two Numbers | Easy Steps for StartersWrite a C program to add two numbers with this easy guide. Includes beginner-friendly code, input/output, and step-by-step explanation.
- Data Type Conversion in C: Casting and Type Promotion ExplainedData type conversion in C aka “type casting” and “type promotion” might sound technical, but once you get a handle on it, it’s like navigating a…
- Increment and Decrement Operators in C with Examples and Use CasesMaster the use of increment (++) and decrement (--) operators in C programming. Learn their syntax, types, pre/post behavior, real-world examples.
- Learn Nested If Else in C with Real-Life ExamplesMaster nested if else statements in C programming. Understand syntax, logic, and structure with real-world coding examples, tips, and beginner…
- Master Conditional (Ternary) Operator in C CodeUnderstand C's conditional (ternary) operator with detailed syntax and practical examples. Simplify complex if-else conditions easily in C.
- Prime Number Program in C, Python & Java👋 Introduction If you're just starting out in programming, one of the classic exercises you’ll encounter is checking whether a number is a prime…
- Strings in C Programming with ExamplesMaster strings in C programming with practical examples and best practices. Learn how to declare, initialize, manipulate, and secure strings in C.
- Learn Inheritance in C++ with Simple Class ExamplesUnderstand C++ inheritance, types, access specifiers, and virtual functions. Build efficient, reusable, object-oriented code with clean class…
- Master C++ Pointers Easily With Real ExamplesC++ pointers give you control, speed & dynamic memory power. Uncodemy’s Noida course teaches hands-on pointer use, real errors & smart debugging.
- Self-Referential Structure in C: Definition, UsageWhen you're new to C programming, you'll eventually come across a term that might seem a little confusing at first-Self-Referential Structure.
- Understanding Friend Function in C++: Concepts & ExamplesLearn about the friend function in C++, its syntax, and practical examples. Understand how it enables access to private members in classes…
- Beginner C Programs Guide: Learn Coding from ScratchStart coding in C with beginner-friendly examples. Learn key concepts like loops, arrays, pointers, and data structures to build a strong coding…
- C Code Examples for BeginnersC language is a very efficient and portable language, which gives low-level control of a computer hardware and memory and hence, it is suitable in…
- C Hello World Program Explained for Absolute BeginnersStart your coding journey with the C Hello World program. Learn how it works, step-by-step breakdown, setup guide, variations, and common beginner…
- C Language Practice Programs for Beginners with OutputBeginner-friendly C practice programs with clear explanations and sample output, covering loops, arrays, factorial and more to build coding logic.
- Constants in C: Definition and How to UseIf you are just getting started with programming or looking to strengthen your foundation in C, understanding constants is something you simply…
- Control Statements in C languageIf you're just beginning your journey in C programming, congratulations-you’ve taken your first step into a powerful world of coding.
- Hello World in C: First Step to Learn ProgrammingExplore your first C program—Hello World. Learn its purpose, structure, common mistakes, and how it builds your foundation in programming.
- How to Declare a Global Variable in C and C++If you are writing a program in C or C++, there are instances where you might want to reuse a variable across different functions or files. Global…
- Master C Functions: Build Modular & Efficient CodeMaster function programming in C for software development success. Understand modular design, recursion, scope, and real-world coding practices.
- Master Prime Check in C with Logic & Code TipsMaster the logic to check if a number is prime in C. Get efficient code samples, tips, and common pitfalls to avoid in C programming practice.
- Master Star Patterns in C Programming: Beginner’s Guide 2026Learn to create star patterns in C programming with loops, nested structures, and conditional logic.
- Simple C Code to Add Two Numbers ExplainedUnderstand how to perform addition of two numbers in C language. Step-by-step guide with complete source code and sample output included.
- Bitwise AND Operator: Usage and Examples in CUnderstanding how data is manipulated at the bit level is a key part of becoming a skilled C programmer. One of the fundamental tools in this…
- C Language Function Basics Syntax and ExamplesFunctions in C are basic building blocks where they encompass certain functions thus providing modularity and reusability of codes. They play a…
- C Language Was Developed By: Origin and CreatorHave you ever wondered how the world of programming got to where it is today? Much of the software we interact with every day—whether it’s your…
- C Programming Basics: Complete Beginner's GuideLearn the fundamentals of C programming with this beginner-friendly guide. Covers syntax, structure, keywords, and simple code examples.
- Functions in C Programming: A Complete GuideLearn functions in C programming: declaration, definition, parameters, return values and recursion, with examples that build strong coding basics.
- Pointer in C Programming: Basics and ExamplesIf you're diving into C programming and haven’t come across pointers yet, buckle up. Pointers are one of the most fascinating (and sometimes…
- Switch Syntax in C: How to Use Switch Case StatementsWhen you’re choosing between multiple options in C, the switch case statement is your go to tool. It saves you from tangled if else if chains and…
- Who Developed C Language History and FactsWhen it comes to the history of the C programming language, it can be traced all the way back to the previous programming languages, such as BCPL…
Browse by topic
All topics- C and C++ programming190 articles · C and C++ programs, pointers, arrays, storage classes and language concepts with code.
- Python programming113 articles · Python programs, syntax, libraries and beginner projects with examples.
- Java programming22 articles · Core Java, OOP, collections, Spring and Java programs explained step by step.
- Data structures and algorithms129 articles · Arrays, linked lists, trees, graphs, sorting, searching and problem solving.
- Web and app development149 articles · HTML, CSS, JavaScript, React, Node, PHP, full stack and mobile app guides.
- Data science and machine learning127 articles · Statistics, Pandas, NumPy, machine learning, deep learning and big data.
- Artificial intelligence and generative AI371 articles · AI concepts, LLMs, prompt engineering, NLP, AI agents and AI tools.
- Data analytics, Excel and Power BI67 articles · Excel, Power BI, Tableau, dashboards and business analytics guides.
- SQL and databases59 articles · SQL queries, MySQL, PostgreSQL, MongoDB and database design with examples.
- Software testing and automation48 articles · Manual testing, Selenium, Playwright, API testing and QA practices.
- Cloud computing and DevOps38 articles · AWS, Azure, Docker, Kubernetes, Git, Jenkins, CI/CD and Linux.
- Cyber security and networking37 articles · Ethical hacking, network security, threats and networking basics.
- Digital marketing and SEO28 articles · SEO, social media, ads, content and email marketing guides.
- UI/UX and graphic design18 articles · UI/UX design, Figma, graphic design tools and portfolios.
- Business, management and finance18 articles · Management, HR, CRM, SAP, project management, accounting and finance.
- Careers, courses and job switches516 articles · Career roadmaps, salaries, course fees, city guides and career switch plans.
- Interview preparation and resumes100 articles · Interview questions, resume tips and how to get job ready.
- Programming basics and technology154 articles · Programming concepts, computer basics, new technology and tech trends.
Learn it with a trainer, not just a blog
Join a free 2-hour live demo class at Uncodemy, classroom or online from Noida. No payment, no commitment.