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 85
  • Answers 1k
  • Best Answers 15
  • Users 802

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

    • 472 Answers
  • Aditya007

    Programming Error while using PICKIT4

    • 124 Answers
  • Tanmoy Chandra Dey

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

    • 112 Answers
  • NML

    STM32

    • 92 Answers
  • BHASKAR

    RTC IN STM32 DATE PROBLEM

    • 79 Answers
  • blackcoin
    blackcoin added an answer You rely up all Arounds (four different-suited Aces, Kings, Queens,… June 26, 2025 at 4:07 pm
  • wehrle
    wehrle added an answer Wenn Sie sich dieser Nebenwirkungen bewusst sind und das Hormon… June 26, 2025 at 3:30 pm
  • ремонт стиральных машин индезит
    ремонт стиральных машин индезит added an answer Hi to all, it's genuinely a fastidious for me to… June 26, 2025 at 2:35 pm
  • injektion
    injektion added an answer Der Fehlgebrauch zu Dopingzwecken kann zu einer Gefährdung der Gesundheit… June 26, 2025 at 2:29 pm
  • url
    url added an answer whoah this weblog is magnificent i really like studying your… June 26, 2025 at 2:08 pm

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.