Skip to content
IT Nursery
  • Home
  • Programming
    • Mac / IOS
    • Android
    • Web Applications
    • PHP
    • Java
    • C
    • C++
  • DataBase
    • MySQL
  • CMS
    • WordPress
  • System and Network
    • Serverfault

C

Why Gets Function So Dangerous That It Should Not Be Used

by IT Nursery

When I try to compile C code that uses the gets() function with GCC, I get this warning: (.text+0x34): warning: the `gets’ function is dangerous … Read more

Tags buffer-overflow, c, fgets, gets

Why in C Constructs Using Pre and Post-Increment Undefined Behavior?

by IT Nursery

Best Answer C has the concept of undefined behavior, i.e. some language constructs are syntactically valid but you can’t predict the behavior when … Read more

Tags c, increment, operator-precedence, undefined-behavior

Why is “while ( !feof (file) )” always wrong

by IT Nursery

What is wrong with using feof() to control a read loop? For example: Best Answer while(!feof) is wrong because it tests for something that is irrelevant … Read more

Tags c, eof, feof, file, while-loop

Undefined, unspecified and implementation-defined behavior

by IT Nursery

What is undefined behavior (UB) in C and C++? What about unspecified behavior and implementation-defined behavior? and What is the difference between them? Best Answer Undefined behavior is one … Read more

Tags c, implementation-defined-behavior, undefined-behavior, unspecified-behavior

Do I cast the result of malloc?

by IT Nursery

someone suggested in a comment that I should not cast the result of malloc. i.e., I should do this: int *sieve = malloc(sizeof(*sieve) * length); rather than: int … Read more

Tags c, casting, malloc
Post navigation
Newer posts
← Previous Page1 … Page23 Page24

Recent Posts

  • Advice for improving internal dashboard [closed]
  • grep : ‘+’ special character
  • File location for Syslogs in Centos machine
  • How to collect users’ task completion times?
  • “service {FOO} start” vs. “/etc/init.d/{FOO} start”? [closed]
IT Nursery
Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Important Link

  • About
  • Privacy Policy
  • Contact

IT Nursery

The Goal of ITNursery Engaging the world to foster innovation through aggregate information. Our Question Answer post, blog information, products and tools help developers and technologists in life and at work.

copyright © 2023 All Right Reserved | IT NurSery