#include

0

#include int main() { int x=(20||40)&&(10); printf("%d",x); return 0; }

By Beginner Alex Fritsch at Nov 17 2020

0

#include int main() { timespec ts; // clock_gettime(CLOCK_MONOTONIC, &ts); // Works on FreeBSD clock_gettime(CLOCK_REALTIME, &ts); // Works on Linux }

By Beginner Marian Wilkinson at Sep 01 2020

0

What will be output when you will execute following c code? #include int main(){ printf("%d\t",sizeof(6.5)); printf("%d\t",sizeof(90000)); printf("%d",sizeof('A')); return 0;

By Beginner Noel Bechtelar at May 02 2020

0

#include using namespace std; int main() { int a = 3; float b = 4.5; double c = 5.25; double sum; sum = a + b + c; cout << "The sum of a, b, and c is", sum << endl; return 0; }

By Wooden Hammer Rita Larson at Dec 22 2019


Related code examples


Code examples by languages