Thread: Printf discussion

  1. #1
    Banned
    Join Date
    Apr 2015
    Posts
    596

    Printf discussion

    Hi gentlemen ;
    I have last confused question about C programing function which is printf()
    Lets assume I have assigned to printf a string like "Hello World" ; so the Pc save that world into specific address as Data; my question Once the pc wants to read "Hello World" from specific address; is he reading it char by char sequential or in parallel? In other words once "Hello World" printed on my screen; is it printed on my screen one by one sequential or in parallel? which at the end all chars are printed ..

  2. #2
    Registered User
    Join Date
    Apr 2019
    Posts
    808
    i believe that both input from the keyboard and output to the screen is loaded into a buffer then dealt with as an entity but its a while since i read about that i moved onto such exciting things as if statements and for loops

  3. #3
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. discussion for C++ double pointers
    By nipun in forum C++ Programming
    Replies: 5
    Last Post: 09-14-2004, 08:32 AM
  2. Strange, No discussion about this!!!!
    By vasanth in forum A Brief History of Cprogramming.com
    Replies: 23
    Last Post: 05-08-2004, 04:05 PM
  3. enlightening discussion...
    By no-one in forum A Brief History of Cprogramming.com
    Replies: 48
    Last Post: 04-24-2004, 03:27 PM
  4. FFT discussion, anyone?
    By Sebastiani in forum A Brief History of Cprogramming.com
    Replies: 4
    Last Post: 12-26-2002, 04:06 AM
  5. ios::binary.... a discussion (mostly)
    By Betazep in forum C++ Programming
    Replies: 19
    Last Post: 04-17-2002, 11:03 AM

Tags for this Thread