Hackpads are smart collaborative documents. .

Kartikeswar Koppula

696 days ago
Unfiled. Edited by Kartikeswar Koppula , Gayle McDowell 696 days ago
Gayle M Code.cpp    
This pad text is synchronized as you type, so that everyone viewing this page sees the same text.  This allows you to collaborate seamlessly on documents!
Kartikeswar K //I am aware of a function to do int to string using itoa or sprintf or snprintf
//I am using itoa
#include <string.h>
void inter_to_array(int value, int array[]) {
    itoa(value, array, MAX_SIZE);
    int check_ascending(int value) {
    int counter = 0;
    int array[MAX_SIZE] ={0};
    inter_to_array(value, &array[]) {
    for (counter

Contact Support

Please check out our How-to Guide and FAQ first to see if your question is already answered! :)

If you have a feature request, please add it to this pad. Thanks!

Log in