Skip to primary content
Skip to secondary content

Code N Solve

#codensolve #algorithms #datastructures

Code N Solve

Main menu

  • Home
  • Category
    • Python
    • Java
    • PHP
  • Buy Books on amazon
  • One Byte Of Travel

Tag Archives: getchar_unlocked()

getchar_unlocked()

Posted on December 21, 2014 by Code N Solve
Reply

#codeifyoucansolve
C programming :
getchar_unlocked();
: This reads a charchater from stdin.
when there is no thread safety required but speed is.
Program :

#include<stdio.h>

int main()
{
  char ch;
  ch     =       getchar_unlocked();
  printf("%c\n",ch);
  return 0;
}

http://ideone.com/zABJQ0

Code If You Can Solve

  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on X (Opens in new window) X
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Tumblr (Opens in new window) Tumblr
  • Print (Opens in new window) Print
  • Email a link to a friend (Opens in new window) Email
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Reddit (Opens in new window) Reddit
  • Share on Telegram (Opens in new window) Telegram
Like Loading...
Posted in Code Solve | Tagged getchar_unlocked() | Leave a reply

Tags

  • Anagram
  • and Everything
  • API
  • Calendar Module In Python
  • CHEFSTON
  • Connecting Towns
  • Diagonal Difference
  • Dipu and Interesting Numbers
  • Distributation of Pencil.
  • Emma's Notebook in Python
  • Encryption
  • Eugene and Big Number
  • Even Tree
  • Factorial
  • Find Maximum Index Product
  • Fizz Buzz Test
  • Funny String
  • GCDQ
  • Gem Stones
  • getchar_unlocked()
  • grid
  • Handshake
  • Ice Cream Parlor
  • ICPC Team Management.
  • Intro To Counting Sort Problem
  • Intro To Sort
  • Knapsack
  • Knapsack_phpCLI
  • Letter Mystery
  • Life
  • LinkList JAVA
  • Lonely Integer
  • Make it Anagram
  • Manasa loves Maths
  • Maximum AND
  • Maximum Subarray
  • Max XOR
  • MicroServices
  • Minimum Draws
  • Modify Sequence
  • Name string
  • no of zero in factorial
  • ONEKING
  • Palindrome Index
  • palindromes
  • Pangrams
  • Possible Path
  • Powerful Digit.
  • prime
  • Python
  • Python3
  • quicksort
  • Restaurant (GCD)
  • Reverse Game
  • Roy's Life Cycle
  • Save Quantumland in Python
  • SEAVOTE
  • Sherlock and Divisors
  • Snakes and Ladders
  • sorting algorithms
  • Square Root
  • Strange Grid
  • String
  • string made
  • substring finding
  • The Ball And Cups
  • The Longest Common Subsequence
  • The Longest increasing subsequence
  • the Universe
  • Time Conversion
  • Transform the Expression
  • Tree Pruning
  • tweepy
  • twitter
  • Unsigned DataType
  • Utopian tree
  • Water Collection
  • Weighted String

Facebook @codensolve

Facebook @codensolve

Twitter @codensolve

My Tweets

Join 481 other subscribers
Follow Code N Solve on WordPress.com

Cotegory

API Code Solve Java MicroService PHP Python Sorting

Archives

Start a Blog at WordPress.com.
  • Subscribe Subscribed
    • Code N Solve
    • Already have a WordPress.com account? Log in now.
  • Privacy
    • Code N Solve
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
%d
    Design a site like this with WordPress.com
    Get started