Awesome q2a theme
0 votes
Can someone explain to me how printf(“%d”,’A’);

would work internally? I mean how is the integer value of A given?
in Programming by (115 points) | 15 views
In order to print any value to the console, printf uses a system call (a method provided by the kernel of the operating system to obtain system specific functionality). The use system call make the transition from user mode to kernel mode of the operating system. Here operating system communicates with the hardware and gives the instructions to the drivers communicating with visual display. Hence any integer value or anything gets printed on the screen

Please log in or register to answer this question.

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
Welcome to GATE CSE Doubts, where you can ask questions and receive answers from other members of the community.
Top Users Jun 2020
  1. ummokkate

    8 Points

  2. nehaPal13

    7 Points

  3. Taraka

    6 Points

  4. pratyush12

    6 Points

  5. Radheram

    6 Points

  6. vps123

    4 Points

  7. reboot

    2 Points

  8. Chinmay Agnihotri

    2 Points

  9. Shubham Aggarwal

    2 Points

  10. Musa

    1 Points

7,410 questions
1,744 answers
90,372 users