C - How to print long long int using printf() Code Example

The code for How to print long long int using printf()

// Use %lld format specifier to print 
// a long long int value/variable

#include <stdio.h>

int main() {
  long long int x = 123456789;

  printf("x: %lld", x);

  return 0;
}
Code by IncludeHelp, on August 14, 2022 20:58

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.