C program Display Factors of a number | C language #coding #recursion #shorts #shortvideo #clanguage

preview_player
Показать описание
C program Display Factors of a number | C language #coding #recursion #shorts #shortvideo #clanguage

#coding #recursion #trending #python #new #programming #shortsviral #youtubeshorts #youtube #ytshorts #new #clanguage

C
C Basics
C Data Types
C Operators
C Input and Output
C Control Flow
C Functions
C Arrays
C Strings
C Pointers
C Preprocessors
C File Handling
C Programs
C Cheatsheet
Рекомендации по теме
Комментарии
Автор

U can make that from O(n) to O(√n) by making i<=√(num) and with

if (i==num/i){printf("%d", i);}
else printf("%d\n%d", i, num/i);

Although this way the factors won't be in ascending order

EmanuelSN
join shbcf.ru