c - Is standard behavior relate to gcc version? -


will of standard c library behavior affected gcc version? 1 example interested in strncpy() other examples interesting too.

will of standard c library behavior affected gcc version?

yes, depends.

it's quite broad question. there differences in gcc supports depending on version of gcc using. gcc has many extensions not in standard c (hence not portable if use extensions). disable of them -std=xx -pedantic-errors flag. assuming have gcc version supports standard c features(whatever standard aim for), additional differences between standard c vs. posix c vs. gnu c vs. linux specific extensions documented in manual, consult determine potential differences or extensions. strncpy, there's no difference in behaviour between standard c , gnu c.


Popular posts from this blog

c# - ODP.NET Oracle.ManagedDataAccess causes ORA-12537 network session end of file -

matlab - Compression and Decompression of ECG Signal using HUFFMAN ALGORITHM -

utf 8 - split utf-8 string into bytes in python -