Top "Ansi-c" questions

ANSI C is an informal term sometimes used when referring to the C programming language standard published by the American National Standards Institute (ANSI) in 1989 .

How to convert an enum type variable to a string?

How to make printf to show the values of variables which are of an enum type? For instance: typedef enum {…

c++ c preprocessor ansi-c
String termination - char c=0 vs char c='\0'

When terminating a string, it seems to me that logically char c=0 is equivalent to char c='\0', since …

c string c-strings null-terminated ansi-c
What is the difference between C, C99, ANSI C and GNU C?

I have started programming practice on codechef and have been confused by the difference between C and C99. What does …

c gcc c99 c89 ansi-c
Why doesn't ANSI C have namespaces?

Having namespaces seems like no-brainer for most languages. But as far as I can tell, ANSI C doesn't support it. …

c namespaces ansi-c
What does static mean in ANSI-C

Possible Duplicate: What does “static” mean in a C program? What does the static keyword mean in C ? I'm using …

c static keyword ansi-c
ANSI C vs other C standards

On several compilers I have used (all gcc but various versions) I get a C99 mode error for things like …

c gcc ansi-c
clarification for RAND_MAX and rand() in c stdlib.h

why does the following c code produce real numbers only ranging between 0 and 1(eg: 0.840188,0.394383...etc) for double a,b when …

c gnu ansi ansi-c
Difference between char* var; and char *var;?

Just wondering if there's any difference between: char* var; char *var; or is it just a matter of preference (spacing)?

c pointers ansi-c
ANSI C equivalent of try/catch?

I have some C code I'm working with, and I'm finding errors when the code is running but have little …

c++ c exception-handling try-catch ansi-c
Who defines C operator precedence and associativity?

Introduction In every textbook on C/C++, you'll find an operator precedence and associativity table such as the following: http://…

c++ c operator-precedence associativity ansi-c