Skip to main content

C (Programming Language)
2 followers
53 questions
0 posts

Do you have questions about C (Programming Language)?

Log in to ask questions about C (Programming Language) publicly or anonymously.

Maverick Noah
High hopes get Higher vibes

In C++ the size of the character literal is char. So in C the sizeof('a') is 4 for 32bit architecture, and CHAR_BIT is 8. But the sizeof(char) is one byte for both C and C++.

Maverick Noah
High hopes get Higher vibes

In C++ the size of the character literal is char. So in C the sizeof('a') is 4 for 32bit architecture, and CHAR_BIT is 8. But the sizeof(char) is one byte for both C and C++.

Maverick Noah
High hopes get Higher vibes

File I/O in C is very similar to Matlab. There are two main differences. One, we have to type the FILE variable. Two, we read one value (or a single line of values) at a time, whereas by default in... (More)

Maverick Noah
High hopes get Higher vibes

A structure is a user defined data type in C/C++. A structure creates a data type that can be used to group items of possibly different types into a single type. How to create a structure? 'struct' keyword is used... (More)