Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about toupper

Read more about toupper

python (12.9k questions)

javascript (9.2k questions)

reactjs (4.7k questions)

java (4.2k questions)

java (4.2k questions)

c# (3.5k questions)

c# (3.5k questions)

html (3.3k questions)

Questions - toupper

Getting no output why is that?

I', learning C and I'm getting no output for some reason, probably I don't return as I should but how I should? (described the problem in the comments below :D) Any help is appreciated! #include <...
test-img

Patton13

c

scope

c-strings

function-definition

toupper

Votes: 0

Answers: 2

Latest Answer

You declared within the function a local variable length array that will not be alive after exiting the function char str_out[strlen(string) + 1]; So your program has undefined behavior. If the funct...
test-img

Vlad from Moscow

Transforming a string_view in-place

std::transform, as of C++20, is declared constexpr. I have a bunch of string utility functions that take std::string arguments, but a lot of the usage ends up just passing in small, short, character l...
test-img

Casey

c++

c++20

string-view

toupper

tolower

Votes: 0

Answers: 2

Latest Answer

You can't in-place transform a std::string_view - what if it has been constructed from char const*? a lot of the usage ends up just passing in small, short, character literal sequences at compile-tim...
test-img

passing_through

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved