Sign Up

Unlock the Gateway: Join the Embed Threads

Have an account? Sign In

Captcha Click on image to update the captcha.

Have an account? Sign In Now

Sign In

Unlock the Possibilities: Dive In with Login Access

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

Embed Threads

Embed Threads

Embed Threads Navigation

  • Blogs
  • Forum
  • About Us
  • Contact Us
  • Books
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Forum
  • Communities
  • Questions
    • New Questions
    • Must Read Questions
    • Trending Questions
    • Hot Questions
  • Polls
  • Groups
  • Add group
  • Badges
  • Users
  • Help
  • Blogs
  • Forum
  • About Us
  • Contact Us
  • Books
Learn C

Learn C

Public group
18Users
9Posts
Pinned

alokm014 Enlightened

July 7, 2023

Best Books For C Programming
1. C Programming Absolute Beginner’s Guide
2. The C Programming Language (2nd Edition)
3. Learn C the Hard Way
4. Head First C
5. C Programming: A Modern Approach

Complete Blog and Download Link: https://embedthreads.com/best-books-for-c-programming/

alokm014 Enlightened

December 9, 2023

Indentation Styles in C Programming

Blog Link: https://embedthreads.com/exploring-different-indentation-styles-in-c-programming/

1. K&R Style (Kernighan and Ritchie)
2. Allman Style (BSD Style)
3. GNU Style (GNU Coding Standards)
4. Whitesmiths Style

alokm014 Enlightened

December 9, 2023

How to Master Array Interview Questions in C?

Blog Link: https://embedthreads.com/how-to-master-array-interview-questions-in-c/

1. What is an array in C, and how are its elements accessed?
2. How do you declare and initialize an array in C? Provide examples.
3. How can you find the length of an array in C?
4. Explain the process of reversing an array in C. Share a code example.
5. How do you calculate the sum of all elements in an array in C?
6. In C, how can you check if an array is sorted in ascending order?
7. How do you find the second-largest and second-smallest elements in an array? Provide a code example.
8. Share a C code snippet to remove duplicates from an array.
9. How can you find the missing number in an array of consecutive integers? Provide an example.
10. Explain the process of finding the frequency of elements in an array using a frequency array. Share a code example.
11. How do you rotate an array to the right by k positions in C?
12. Explain Kadane’s algorithm and how it is used to find the largest subarray with the maximum sum in an array. Provide an example.
13. How do you merge two sorted arrays into a single sorted array in C?
14. Explain how to find the kth smallest element in an unsorted array using the quickselect algorithm. Share a code example.
15. How do you find the median of an unsorted array in C?
16. Share a C code snippet to find a pair of elements in an array whose sum is equal to a given target value.
17. How can you rearrange an array in alternating positive and negative numbers in C? Provide an example.

alokm014 Enlightened

December 9, 2023

Swap to Variables without using extra variable

Blog Link: https://embedthreads.com/how-to-swap-2-variables-without-using-a-extra-variables/

alokm014 Enlightened

December 9, 2023

Common Myths About C++ in Embedded Systems

Blog Lik: https://embedthreads.com/debunking-common-myths-about-c-in-embedded-systems-part1

Embedded systems power our daily technologies, from household appliances to smartphones. While C has been the traditional choice, C++ is gaining momentum. Dispelling myths:

– C++ isn’t slower; optimized code matches C.
– C++ doesn’t produce bloated code; modern compilers are efficient.
– C++ objects aren’t inherently large; thoughtful design ensures memory efficiency.
– Virtual functions aren’t slow; minimal overhead outweighed by benefits.
– C++ is ROMable; with proper configuration, code can reside in ROM.
– Class libraries don’t necessarily lead to large binaries; selective inclusion and optimization are key.
– Abstraction in C++ doesn’t compromise efficiency; well-designed code enhances maintainability.

alokm014 Enlightened

December 9, 2023

Difference between #define and const in C?

Blog Link: https://embedthreads.com/difference-between-define-and-const-in-c/

Act I: #define
Magic of preprocessor for global changes.

Act II: const
Type-safe, acts like a variable, constant data.

Act III: Scope Control
Avoids global exposure, prevents errors.

Act IV: Build-time Config
#define for flexible build-time config.

Storage Chronicles:
#define substitutes, const in read-only memory.

Grand Finale: Choose Wisely
Blend #define’s dynamism, const’s reliability.

Happy coding!

alokm014 Enlightened

July 10, 2023

C Coding Standards

Download Pdf : https://robopathshala.in/c-coding-standards/

alokm014 Enlightened

July 10, 2023

Understanding Wild, Dangling, Null, and Void Pointers in C: Examples and Pitfalls

Post Link : https://embedthreads.com/understanding-wild-dangling-null-and-void-pointers-in-c/

alokm014 Enlightened

July 10, 2023

Local, Global, Extern and Static Variables in C

Post Link : https://embedthreads.com/difference-between-local-global-extern-and-static-variables-in-c/

Sidebar

Ask A Question

Stats

  • Questions 80
  • Answers 2k
  • Best Answers 15
  • Users 801

Free PDF Downloads

A Roadmap to a Successful Career

HTTP, WS and TLS: The Complete Guide

Embedded Interview Questions

  • Popular
  • Answers
  • alokm014

    Embedded System Testing: Strategies and Approaches

    • 837 Answers
  • Sri Bathran S

    Roadmap to embedded software developer

    • 282 Answers
  • Aditya007

    Programming Error while using PICKIT4

    • 208 Answers
  • Kushal KJ

    FreeRTOS_config.h file for STM32F401RE Nucleo Board

    • 157 Answers
  • Tanmoy Chandra Dey

    Why is the "ADDR flag" cleared without reading the SR2

    • 115 Answers
  • aquawin casino review
    aquawin casino review added an answer Article writing is also a excitement, if you be acquainted… July 29, 2025 at 8:58 am
  • Nano Earth Labs Review
    Nano Earth Labs Review added an answer https://myhomemypleasure.co.uk/wiki/index.php?title=Nano_Earth_Labs_Blood_Stabilizer:_How_It_Changed_My_Energy_Levels Earth Labs is a cutting-edge company that specializes in… July 29, 2025 at 8:36 am
  • انتشار کارت ورود به جلسه آزمون استخدامی آموزش پرورش ۱۴۰۴
    انتشار کارت ورود به جلسه آزمون استخدامی آموزش پرورش ۱۴۰۴ added an answer Hi there! This is kind of off topic but I… July 29, 2025 at 8:03 am
  • assignment writers in sri lanka,
    assignment writers in sri lanka, added an answer No matter if some one searches for his required thing,… July 29, 2025 at 5:13 am
  • neurotrauma
    neurotrauma added an answer One of the first benefits of Thymosin Beta-4 is its… July 29, 2025 at 3:44 am

Explore

  • Forum
  • Communities
  • Questions
    • New Questions
    • Must Read Questions
    • Trending Questions
    • Hot Questions
  • Polls
  • Groups
  • Add group
  • Badges
  • Users
  • Help

Footer

Embed Threads

Embed Threads

Join us on a transformative journey where knowledge is amplified and solutions are empowered.

About Us

  • Blogs
  • Forum
  • About Us
  • Contact Us
  • Books

Legal Stuffs

  • Privacy Policy
  • Adsense Disclaimer

Help

  • Help
  • Contact Us

Follow

© 2024 Embed Threads. All Rights Reserved
With Love by Embed Threads.