Hello World Program in C Get link Facebook X Pinterest Email Other Apps February 16, 2019 #include <stdio.h> int main() { printf("Hello World!"); return 0; } Get link Facebook X Pinterest Email Other Apps Comments
Timus Problem 1086. Cryptography Accepted Solution in C February 17, 2019 #include <stdio.h> #include <math.h> #include <stdlib.h> int main() { int i, j, k, n, count, square_root, current_number; char is_prime[163842]; int prime_numbers[15001]; square_root = (int)sqrt(163841); // 163841 is the 1500th prime number for(i = 2; i <= 163841; i++) is_prime[i] = '1'; for(i = 2; i <= square_root; i++) { if(is_prime[i] == '1') { current_number = i * i; while(current_number <= 163841) { is_prime[current_number] = '0'; ... Read more
What "e" means in PHP?? July 15, 2019 <?php echo 2e0 . '<br/>'; echo 2e1 . '<br/>'; echo 2e2 . '<br/>'; echo 2e3 . '<br/>'; /* outputs: 2 20 200 2000 */ ?> Read more
Calling a function inside another function in PHP July 15, 2019 <?php function name() { return 'Rangan Roy'; } function show_name() { echo name(); } show_name(); // output: Rangan Roy ?> Read more
Comments
Post a Comment