Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

what is difference between uint8 and uint8_t in C?

+2 votes
asked Oct 27, 2023 by Rajat Bandejiya (140 points)
is there any difference between uint8 and uint8_t in C?

1 Answer

+1 vote
answered Dec 6, 2023 by Peter Minarik (86,640 points)

The standard C library defines uint8_t as the 8-bit unsigned integral type in the <stdint> header. Perhaps uint8 that you saw was defined by someone else.

For all intents and purposes, they should be the same. 

Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.
...